You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An enum can be configured by first selecting the assembly (or App_Code folder) to reflect, and then the specific enum:
By default each enum item name and it's value are used for a label and key respectively, although this behaviour can be overridden with optional attributes:
using nuPickers.Shared.EnumDataSource;
public enum ExampleColours
{
[EnumDataSource(Key="#FF0000")]
Red,
[EnumDataSource(Enabled=false)]
Green,
[EnumDataSource(Key="#7FFFD4", Label="Aqua Marine")]
AquaMarine
}