Table of Contents

Interface ITabControl

Namespace
HP.LFT.SDK.WinForms
Assembly
HP.LFT.SDK.dll

A .NET Windows Forms tab control.

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

Properties

AttachedText

The static text attached to this control.

string AttachedText { get; }

Property Value

string

ErrorText

Returns the tooltip text of the error icon associated with this object.

string ErrorText { get; }

Property Value

string

SelectedTab

Returns the selected tab.

string SelectedTab { get; }

Property Value

string

Tabs

Returns the tabs in this tab control.

ReadOnlyCollection<string> Tabs { get; }

Property Value

ReadOnlyCollection<string>

Methods

Select(int, MouseButton)

Selects the specified tab item.

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

Parameters

index int

0-based index of the item.

button MouseButton

Optional: The mouse button used to select the list item. Default is left button.

Select(string, MouseButton)

Selects the specified tab item.

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

Parameters

item string

The text of the item to select from the tabcontrol.

button MouseButton

Optional: The mouse button used to select the list item. Default is left button.