RepositoryItemCheckedComboBoxEdit.AddEnum Method

Name Parameters Description
AddEnum(Type) enumType Adds new items that represent elements of the specified enumeration to the editor drop-down.
AddEnum(Type, Boolean) enumType, addEnumeratorIntegerValues Adds new items that represent elements of the specified enumeration to the editor drop-down, allowing you to specify whether enumeration constant names or integer values are assigned to the item values.
AddEnum<TEnum>() none Adds new items that represent elements of the specified enumeration to the editor drop-down.
AddEnum<TEnum>(Converter<TEnum, String>) displayTextConverter Adds new items that represent elements of the specified enumeration to the editor drop-down, allowing you to customize item descriptions.
AddEnum<TEnum>(Converter<TEnum, String>, Boolean) displayTextConverter, addEnumeratorIntegerValues Adds new items that represent elements of the specified enumeration to the control. Allows you to customize item descriptions and specify whether underlying integer values are assigned to the item values.