Skip to main content

RepositoryItemImageComboBox.AddEnum Method

Name Parameters Description
AddEnum(Type, Boolean) enumType, addEnumeratorIntegerValues Populates this RepositoryItemImageComboBox with items generated from values of the specific enumeration. Allows generated items to store numeric enumeration values instead of enumeration constant names.
AddEnum(Type) enumType Populates this RepositoryItemImageComboBox with items generated from values of the specific enumeration.
AddEnum<TEnum>() none Populates this RepositoryItemImageComboBox with items generated from values of the specific enumeration.
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.
AddEnum<TEnum>(Converter<TEnum, String>) displayTextConverter Populates this RepositoryItemImageComboBox with items generated from values of the specific enumeration and replaces default item descriptions.