Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.