Given an enum type, returns a collection suitable for use with a DropDownList component.
Class: YetaWF.Core.Components.Enums
Namespace: YetaWF.Core.Components
Assembly: YetaWF.Core
public static List<SelectionItem<int>> GetEnumSelectionList( Type enumType, bool showSelect = false );
enumType
The type of the enum.
showSelect
Defines whether the first entry "(select)" should be generated.
Returns a collection suitable for use in a DropDownList component.
See Also YetaWF.Core.Components.Enums ClassYetaWF.Core Overview
Documentation Feedback
© 2024 - Softel vdm, Inc. - YetaWF.com