Interface ITabControl
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
ErrorText
Returns the tooltip text of the error icon associated with this object.
string ErrorText { get; }
Property Value
SelectedTab
Returns the selected tab.
string SelectedTab { get; }
Property Value
Tabs
Returns the tabs in this tab control.
ReadOnlyCollection<string> Tabs { get; }
Property Value
Methods
Select(int, MouseButton)
Selects the specified tab item.
void Select(int index, MouseButton button = MouseButton.Left)
Parameters
indexint0-based index of the item.
buttonMouseButtonOptional: 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
itemstringThe text of the item to select from the tabcontrol.
buttonMouseButtonOptional: The mouse button used to select the list item. Default is left button.