Skip to content

DXImageComboBoxEdit

DevXpress ImageComboBoxEdit.

UI element class: DevExpress.XtraEditors.ImageComboBoxEdit

Extends ManagedObject

Extends SeSSimulatedObject

Behavior Pattern: DXComboBoxEditBehavior

Property Summary

Property Description Getter Setter
ItemCount Number of items. GetItemCount
ItemNameByIndex Returns item name by its index. GetItemNameByIndex
SelectedIndex Index of the selected element of the object. GetSelectedIndex SetSelectedIndex
SelectedText Text of the selected item in a single string. GetSelectedText SetSelectedText
Text Text of the selected item in a single string. GetText SetText

Action Summary

Action Description
DoSelectItem Selects an item of this object.
DoSetText Sets text value of this object.

Property Detail

ItemCount

Number of items.

Type: number

Accessors: GetItemCount

value = SeS('SomeDXImageComboBoxEdit').GetItemCount()

ItemNameByIndex

Returns item name by its index.'false' if name is not found.

Getter Parameters:

Name Type Description
index number Index of the item

Type: string|boolean

Accessors: GetItemNameByIndex

value = SeS('SomeDXImageComboBoxEdit').GetItemNameByIndex(index)

SelectedIndex

Index of the selected element of the object.

Type: number

Accessors: GetSelectedIndex, SetSelectedIndex

value = SeS('SomeDXImageComboBoxEdit').GetSelectedIndex()

SeS('SomeDXImageComboBoxEdit').SetSelectedIndex(value)

SelectedText

Text of the selected item in a single string.

Type: string

Accessors: GetSelectedText, SetSelectedText

value = SeS('SomeDXImageComboBoxEdit').GetSelectedText()

SeS('SomeDXImageComboBoxEdit').SetSelectedText(value)

Text

Text of the selected item in a single string.

Type: string

Accessors: GetText, SetText

value = SeS('SomeDXImageComboBoxEdit').GetText()

SeS('SomeDXImageComboBoxEdit').SetText(value)

Action Detail

DoSelectItem

Selects an item of this object.

SeS('SomeDXImageComboBoxEdit').DoSelectItem(item)

Parameters:

Name Type Description
item string | number Item index or text value to select.

Returns:

boolean: 'true' if success, 'false' otherwise.

DoSetText

Sets text value of this object.

SeS('SomeDXImageComboBoxEdit').DoSetText(val)

Parameters:

Name Type Description
val string Text value.

Returns:

boolean: 'true' if success, 'false' otherwise.