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

ImageComboBoxItemCollection.AddEnum Method

Name Parameters Description
AddEnum(Type, Boolean) enumType, addEnumeratorIntegerValues Adds new items to the collection that will represent elements of the specified enumeration. Allows you to assign integer values to the items’ Value property.
AddEnum(Type) enumType Adds new items to the collection that will represent elements of the specified enumeration.
AddEnum<TEnum>() none Adds new items to the collection that will represent elements of the specified enumeration.
AddEnum<TEnum>(Converter<TEnum, String>, Boolean) displayTextConverter, addEnumeratorIntegerValues
AddEnum<TEnum>(Converter<TEnum, String>) displayTextConverter Adds new items to the collection that will represent elements of the specified enumeration. The display captions of the items are generated by the specified converter.