Table of Contents

Interface IScrollBar

A .NET Windows Forms scroll bar.

Inherited Members
IUiObjectBase.FireEvent(string, params object[])
IUiObjectBase.GetObjectProperty<TValue>(string)
IUiObjectBase.IsChildWindow
IUiObjectBase.IsOwnedWindow
IUiObjectBase.ObjectName
IUiObjectBase.FullNamePath
IUiObjectBase.FullType
IUiObjectBase.Text
IUiObjectBase.WindowClassRegExp
IUiObjectBase.WindowId
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.WinForms
Assembly: HP.LFT.SDK.dll
Syntax
public interface IScrollBar : IUiObjectBase, IUiObjectBase, IClickable, IDoubleClickable, ILocationInfoProvider, ISupportSendKeys, ISupportDragAndDrop, IEnabledProvider, IVisibleProvider, ISupportsNativeObject, ITestObject, ITestObjectDescriber

Properties

ErrorText

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

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

Position

The scroll bar position.

Declaration
int Position { get; }
Property Value
Type Description
int

Methods

NextLine(int)

Moves this scroll bar down the specified number of lines or emulates pressing the right arrow key the specified number of times.

Declaration
void NextLine(int numberOfLines = 1)
Parameters
Type Name Description
int numberOfLines

Optional. The number of lines to move the scroll bar (Default = 1).

NextPage(int)

Moves this scroll bar down or to the right the specified number of pages.

Declaration
void NextPage(int numberOfPages = 1)
Parameters
Type Name Description
int numberOfPages

Optional. The number of pages to move the scroll bar (Default = 1).

PreviousLine(int)

Moves this scroll bar up the specified number of lines or emulates pressing the left arrow key the specified number of times.

Declaration
void PreviousLine(int numberOfLines = 1)
Parameters
Type Name Description
int numberOfLines

Optional. The number of lines to move the scroll bar (Default = 1).

PreviousPage(int)

Moves this scroll bar up or to the left the specified number of pages.

Declaration
void PreviousPage(int numberOfPages = 1)
Parameters
Type Name Description
int numberOfPages

The number of pages to move the scroll bar (Default = 1).

SetPosition(int)

Sets the scroll bar position.

Declaration
void SetPosition(int position)
Parameters
Type Name Description
int position

The scroll bar position to be set.

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)