Interface ITabControl
- Namespace
- HP.LFT.SDK.PowerBuilder
- Assembly
- HP.LFT.SDK.dll
A PowerBuilder tab control object.
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
Tabs
Returns all the tabs in the tab control.
ReadOnlyCollection<ITab> Tabs { get; }
Property Value
Methods
GetTab(string)
Returns the tab with the specified name.
ITab GetTab(string name)
Parameters
namestringThe name of the tab.
Returns
Select(ITab, MouseButton)
Selects the specified tab in the tab control.
void Select(ITab tab, MouseButton button = MouseButton.Left)
Parameters
tabITabThe tab to select from the tab control.
buttonMouseButtonOptional: 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
tabIndexintThe index of tab to select from the tab control.
buttonMouseButtonOptional: 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
tabstringThe tab to select from the tab control.
buttonMouseButtonOptional: The mouse button used to select the tab. Possible values: MouseButton
(default value: left button)