Candor.Web.Mvc.EnhancedSelectListItem.ListFromEnum C# (CSharp) Method

ListFromEnum() public static method

Creates a list of enhanced select list items for all values in a specific enum type.
public static ListFromEnum ( Type enumType ) : List
enumType System.Type The type of the enumeration.
return List
        public static List<EnhancedSelectListItem> ListFromEnum(Type enumType)
        {
            return ListFromEnum(enumType, new List<string>());
        }

Same methods

EnhancedSelectListItem::ListFromEnum ( Type enumType, List selectedValues ) : List
EnhancedSelectListItem::ListFromEnum ( Type enumType, string selectedValues ) : List
EnhancedSelectListItem