DXTabControl¶
DevExpress DXTabControl.
UI element class: DevExpress.XtraTab.XtraTabControl
Extends ManagedObject
Extends SeSSimulatedObject
Behavior Pattern: DXTabControlBehavior
Property Summary¶
Property | Description | Getter | Setter |
---|---|---|---|
ItemsCount | Number of items. | GetItemsCount | |
SelectedIndex | Index of the selected element of the object. | GetSelectedIndex | SetSelectedIndex |
SelectedTab | Text of the selected tab | GetSelectedTab | SetSelectedTab |
TabName | Name of the tab at index | GetTabName |
Action Summary¶
Action | Description |
---|---|
DoSelectTab | Selects the tab by name. |
Property Detail¶
ItemsCount¶
Number of items.
Type: number
Accessors: GetItemsCount
value = SeS('SomeDXTabControl').GetItemsCount()
SelectedIndex¶
Index of the selected element of the object.
Type: number
Accessors: GetSelectedIndex, SetSelectedIndex
value = SeS('SomeDXTabControl').GetSelectedIndex()
SeS('SomeDXTabControl').SetSelectedIndex(/**number*/ index)
SelectedTab¶
Text of the selected tab
Type: string
Accessors: GetSelectedTab, SetSelectedTab
value = SeS('SomeDXTabControl').GetSelectedTab()
SeS('SomeDXTabControl').SetSelectedTab(/*string*/ tabName)
TabName¶
Name of the tab at index
Getter Parameters:
Name | Type | Description |
---|---|---|
index | number |
Type: string
Accessors: GetTabName
value = SeS('SomeDXTabControl').GetTabName(/**number*/ index)
Action Detail¶
DoSelectTab¶
Selects the tab by name.
SeS('SomeDXTabControl').DoSelectTab(tabName)
Parameters:
Name | Type | Description |
---|---|---|
tabName | string | Tab name to select |
Returns:
boolean: 'true' if success, 'false' otherwise.