Method AddEnumValues
AddEnumValues<T2>()
Adds enum values to the items collection.
public void AddEnumValues<T2>() where T2 : Enum
Type Parameters
T2Type of the enum which values are added.
AddEnumValues<T2>(T2)
Adds enum values to items collection.
public void AddEnumValues<T2>(T2 selectValue) where T2 : Enum
Parameters
selectValueT2New selected item value.
Type Parameters
T2Type of the enum which values are added.
AddEnumValues(Type, object?)
Adds enum values to the items collection.
public virtual void AddEnumValues(Type type, object? selectValue = null)