Unable to find enum type for static reference in WPF
Use "+" instead of "." to get to a nested type in XAML:
{x:Static models:Enums+MySelections.one}
You could declare it outside of your class:
namespace Application.Models{ public enum MySelections { one, two, three }; public class Enums { public MySelections CurrentSelection;
And then this xaml will work:
.... ConverterParameter={x:Static models:MySelections.one}
The x:Static
markup has the fixed syntax:
{x:Static prefix:typeName.staticMemberName}