ImageComboBoxEdit.SelectItemByDescription(String) Method
Locates the first item with the specified description and selects it.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Parameters
Name | Type | Description |
---|---|---|
val | String | A string value that specifies the item description. |
Remarks
The SelectItemByDescription method locates the first ComboBoxItem with the specified ImageComboBoxItem.Description in the RepositoryItemImageComboBox.Items collection.
If the target item is found, it is selected by assigning its value (ComboBoxItem.Value) to the editor’s edit value (ImageComboBoxEdit.EditValue). If an item with the specified description is not found, the current selection is not changed.
See Also