Method AddEnumValues
AddEnumValues<T>()
Adds enum values to the items collection.
public virtual void AddEnumValues<T>() where T : Enum
Type Parameters
TType of the enum which values are added.
AddEnumValues<T>(T)
Adds enum values to items collection.
public virtual void AddEnumValues<T>(T selectValue) where T : Enum
Parameters
selectValueTNew selected item value.
Type Parameters
TType 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)