Table of Contents

Interface IToolBar

A .NET WPF toolbar object.

Inherited Members
IUiObjectBase.GetObjectProperty<TValue>(string)
IUiObjectBase.MakeVisible()
IUiObjectBase.ShowContextMenu()
IUiObjectBase.CanFocus
IUiObjectBase.ObjectName
IUiObjectBase.FullNamePath
IUiObjectBase.FullType
IUiObjectBase.AttachedText
IUiObjectBase.Text
IUiObjectBase.MouseMove(Location)
IUiObjectBase.IsFocused
IUiObjectBase.NativeClass
IUiObjectBase.WindowTitleRegExp
IUiObjectBase.Handle
IClickable.Click(MouseButton)
IClickable.Click(ClickArgs)
IDoubleClickable.DoubleClick(MouseButton)
IDoubleClickable.DoubleClick(ClickArgs)
ILocationInfoProvider.Location
ILocationInfoProvider.AbsoluteLocation
ILocationInfoProvider.Size
ISupportSendKeys.SendKeys(string, KeyModifier)
ISupportSendKeys.SendKeys(string)
ISupportDragAndDrop.DragAndDropOn(ISupportDragAndDrop)
ISupportDragAndDrop.DragAndDropOn(ISupportDragAndDrop, DragAndDropArgs)
IEnabledProvider.IsEnabled
IVisibleProvider.IsVisible
ISupportsNativeObject.NativeObject
ITestObject.GetDescription()
ITestObject.SetDescription(IDescription)
ITestObject.FindChildren<TChild>(IDescription)
ITestObject.Exists()
ITestObject.Exists(uint)
ITestObject.GetSnapshot()
ITestObject.Highlight()
ITestObject.HighlightMatches<TChild>(IDescription)
ITestObject.GetTextLocations(string)
ITestObject.GetTextLocations(string, Rectangle)
ITestObject.GetVisibleText()
ITestObject.GetVisibleText(Rectangle)
ITestObject.VerifyImageExists(Image, byte)
ITestObject.VerifyImageMatch(Image, byte, byte)
ITestObject.VerifyImageMatch(Image, ImageMaskArea, byte, byte)
ITestObject.CallFTMethod(string, params object[])
ITestObject.CallFTMethod<TResult>(string, params object[])
ITestObject.Parent
ITestObject.DisplayName
ITestObjectDescriber.Describe<TChild>(IDescription)
Namespace: HP.LFT.SDK.WPF
Assembly: HP.LFT.SDK.dll
Syntax
public interface IToolBar : IUiObjectBase, IUiObjectBase, IClickable, IDoubleClickable, ILocationInfoProvider, ISupportSendKeys, ISupportDragAndDrop, IEnabledProvider, IVisibleProvider, ISupportsNativeObject, ITestObject, ITestObjectDescriber

Properties

Items

Returns the toolbar items in this toolbar.

Declaration
ReadOnlyCollection<IToolBarItem> Items { get; }
Property Value
Type Description
ReadOnlyCollection<IToolBarItem>

Name

The name of this object.

Declaration
string Name { get; }
Property Value
Type Description
string

Methods

IsItemOverflow(int)

Indicates whether the item resides in the overflow area of this toolbar.

Declaration
bool IsItemOverflow(int itemIndex)
Parameters
Type Name Description
int itemIndex

1-based index of the toolbar item.

Returns
Type Description
bool

IsItemOverflow(string)

Indicates whether the item resides in the overflow area of this toolbar.

Declaration
bool IsItemOverflow(string itemPath)
Parameters
Type Name Description
string itemPath

Name of the toolbar item.

Returns
Type Description
bool

ShowOverflow()

Displays the overflow area of this toolbar.

Declaration
void ShowOverflow()

Extension Methods

TestObjectExtensions.WaitUntilEnabled<T>(T)
TestObjectExtensions.WaitUntilEnabled<T>(T, int)
TestObjectExtensions.WaitUntilExists<T>(T)
TestObjectExtensions.WaitUntilExists<T>(T, int)
TestObjectExtensions.WaitUntilVisible<T>(T)
TestObjectExtensions.WaitUntilVisible<T>(T, int)
TestObjectExtensions.WaitUntil<T>(T, Func<T, bool>)
TestObjectExtensions.WaitUntil<T>(T, Func<T, bool>, int)