Interface ITabControl
A standard Windows tab control in a dialog box.
Inherited Members
Namespace: HP.LFT.SDK.StdWin
Assembly: HP.LFT.SDK.dll
Syntax
public interface ITabControl : IUiObjectWithLayoutInfo, IUiObjectBase, IUiObjectBase, IClickable, IDoubleClickable, ILocationInfoProvider, ISupportSendKeys, ISupportDragAndDrop, IEnabledProvider, IVisibleProvider, ITestObject, ITestObjectDescriber
Properties
SelectedTab
Returns the selected tab in the tab control.
Declaration
ITab SelectedTab { get; }
Property Value
| Type | Description |
|---|---|
| ITab |
Tabs
Returns all the tabs in the tab control.
Declaration
ReadOnlyCollection<ITab> Tabs { get; }
Property Value
| Type | Description |
|---|---|
| ReadOnlyCollection<ITab> |
Methods
GetTab(string)
Returns the tab with the specified name.
Declaration
ITab GetTab(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name of the tab. |
Returns
| Type | Description |
|---|---|
| ITab |
Select(ITab, MouseButton)
Selects the specified tab in the tab control.
Declaration
void Select(ITab tab, MouseButton button = MouseButton.Left)
Parameters
| Type | Name | Description |
|---|---|---|
| ITab | tab | The tab to select from the tab control. |
| MouseButton | button | Optional: The mouse button used to select the tab. Possible values: MouseButton(default value: left button) |
Select(int, MouseButton)
Selects the specified tab by tab index.
Declaration
void Select(int tabIndex, MouseButton button = MouseButton.Left)
Parameters
| Type | Name | Description |
|---|---|---|
| int | tabIndex | The index of tab to select from the tab control. |
| MouseButton | button | Optional: The mouse button used to select the tab. Possible values: MouseButton (default value: left button) |
Select(string, MouseButton)
Selects the specified tab by tab name.
Declaration
void Select(string tab, MouseButton button = MouseButton.Left)
Parameters
| Type | Name | Description |
|---|---|---|
| string | tab | The tab to select from the tab control. |
| MouseButton | button | Optional: The mouse button used to select the tab. Possible values: MouseButton (default value: left button) |