nuPickers icon indicating copy to clipboard operation
nuPickers copied to clipboard

Add GetEnabled to EnumExtensions

Open jbreuer opened this issue 10 years ago • 1 comments

The EnumExtensions now contains the following methods: GetKey GetLabel

The EnumDataSource attribute also has an Enabled property. It would be nice if you could also return that boolean with a GetEnabled extension method.

jbreuer avatar Nov 08 '14 16:11 jbreuer

Looks like this existed at some point but seems Enabled removed now as no property on EditorDataItem? {nuPickers/Shared/Editor/EditorDataItem.cs}

also removed in the EnumDataSource {/nuPickers/Shared/EnumDataSource/EnumDataSource.cs}

 case "Enabled":
        //enabled = (bool)customAttributeNamedArguement.TypedValue.Value;
        break;

mistyn8 avatar Feb 19 '16 23:02 mistyn8