Interface IToolBar
A standard Windows toolbar.
Inherited Members
Namespace: HP.LFT.SDK.StdWin
Assembly: HP.LFT.SDK.dll
Syntax
public interface IToolBar : IUiObjectWithLayoutInfo, IUiObjectBase, IUiObjectBase, IClickable, IDoubleClickable, ILocationInfoProvider, ISupportSendKeys, ISupportDragAndDrop, IEnabledProvider, IVisibleProvider, ITestObject, ITestObjectDescriber
Properties
Buttons
The collection of toolbar buttons in the toolbar.
Declaration
ReadOnlyCollection<IToolBarButton> Buttons { get; }
Property Value
| Type | Description |
|---|---|
| ReadOnlyCollection<IToolBarButton> |
SelectedButtons
The collection of all selected buttons in the toolbar.
Declaration
ReadOnlyCollection<IToolBarButton> SelectedButtons { get; }
Property Value
| Type | Description |
|---|---|
| ReadOnlyCollection<IToolBarButton> |
Methods
GetButton(string)
Retrieves a button with the given text.
Declaration
IToolBarButton GetButton(string text)
Parameters
| Type | Name | Description |
|---|---|---|
| string | text | The text of the specified button. |
Returns
| Type | Description |
|---|---|
| IToolBarButton |