I only seem to be able to use the '==' operator for comparing an enum.
Is it possible to use other operators such as '>='?
I tried this:
Visibility="{c:Binding 'CurrentUser.Level>=local:UserLevel.Administrator'}"
And got this error:
Binding error: calc converter can't convert expression{0}>=Enum1.Administrator: The binary operator GreaterThanOrEqual is not defined for the types 'MyNameSpace.UserLevel' and 'MyNameSpace.UserLevel'.
I only seem to be able to use the '==' operator for comparing an enum. Is it possible to use other operators such as '>='?
I tried this: Visibility="{c:Binding 'CurrentUser.Level>=local:UserLevel.Administrator'}" And got this error: Binding error: calc converter can't convert expression{0}>=Enum1.Administrator: The binary operator GreaterThanOrEqual is not defined for the types 'MyNameSpace.UserLevel' and 'MyNameSpace.UserLevel'.
Using the equals operator is working though.