Skip to main content
A newer version of this page is available. .

RepositoryItemCheckedComboBoxEdit.AddEnum Method

Name Parameters Description
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(Type) enumType Adds new items that represent elements of the specified enumeration to the editor drop-down.
AddEnum<TEnum>() none Adds new items that represent elements of the specified enumeration to the editor drop-down.
AddEnum<TEnum>(Converter<TEnum, String>, Boolean) displayTextConverter, addEnumeratorIntegerValues
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.