Table of Contents

Interface ITabControl

Namespace
HP.LFT.SDK.StdWin
Assembly
HP.LFT.SDK.dll

A standard Windows tab control in a dialog box.

public interface ITabControl : IUiObjectWithLayoutInfo, IUiObjectBase, IUiObjectBase, IClickable, IDoubleClickable, ILocationInfoProvider, ISupportSendKeys, ISupportDragAndDrop, IEnabledProvider, IVisibleProvider, ITestObject, ITestObjectDescriber
Inherited Members
Extension Methods

Properties

SelectedTab

Returns the selected tab in the tab control.

ITab SelectedTab { get; }

Property Value

ITab

Tabs

Returns all the tabs in the tab control.

ReadOnlyCollection<ITab> Tabs { get; }

Property Value

ReadOnlyCollection<ITab>

Methods

GetTab(string)

Returns the tab with the specified name.

ITab GetTab(string name)

Parameters

name string

The name of the tab.

Returns

ITab

Select(ITab, MouseButton)

Selects the specified tab in the tab control.

void Select(ITab tab, MouseButton button = MouseButton.Left)

Parameters

tab ITab

The tab to select from the tab control.

button MouseButton

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.

void Select(int tabIndex, MouseButton button = MouseButton.Left)

Parameters

tabIndex int

The index of tab to select from the tab control.

button MouseButton

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.

void Select(string tab, MouseButton button = MouseButton.Left)

Parameters

tab string

The tab to select from the tab control.

button MouseButton

Optional: The mouse button used to select the tab. Possible values: MouseButton

(default value: left button)