Table of Contents

Interface IScrollBar

Namespace
HP.LFT.SDK.StdWin
Assembly
HP.LFT.SDK.dll

A standard Windows scroll bar.

public interface IScrollBar : IUiObjectBase, IUiObjectBase, IClickable, IDoubleClickable, ILocationInfoProvider, ISupportSendKeys, ISupportDragAndDrop, IEnabledProvider, IVisibleProvider, ITestObject, ITestObjectDescriber
Inherited Members
Extension Methods

Properties

MaxPosition

The maximum scrolling position.

int MaxPosition { get; }

Property Value

int

MinPosition

The minimum scrolling position.

int MinPosition { get; }

Property Value

int

Position

The scroll bar position.

int Position { get; }

Property Value

int

Methods

NextLine(int)

Moves the scroll bar downward, or to the right, the specified number of lines.

void NextLine(int numberOfLines = 1)

Parameters

numberOfLines int

The number of lines to move the scroll bar (Default value: 1).

NextPage(int)

Moves the scroll bar downward, or to the right, the specified number of pages.

void NextPage(int numberOfPages = 1)

Parameters

numberOfPages int

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

PreviousLine(int)

Moves the scroll bar upward, or to the left, the specified number of lines.

void PreviousLine(int numberOfLines = 1)

Parameters

numberOfLines int

The number of lines to move the scroll bar (Default value: 1).

PreviousPage(int)

Moves the scroll bar upward, or to the left, the specified number of pages.

void PreviousPage(int numberOfPages = 1)

Parameters

numberOfPages int

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

SetPosition(int)

Sets the scroll bar position.

void SetPosition(int position)

Parameters

position int

The scroll bar position to be set.