[]
        
(Showing Draft Content)

C1.Win.Accessibility.Items.BaseInterfaces.IUiaScrollProvider

IUiaScrollProvider Interface

The Scroll pattern exposes a control's ability to change the portion of its visible region that is visible to the user by scrolling its content.

Examples:

Listboxes
TreeViews
other containers that maintain a content area larger than the control's visible region

Note that scrollbars themselves should not support the Scrollable pattern; they support the RangeValue pattern.

Servers must normalize scrolling (0 to 100).

This public interface represents UI elements that scroll their content.

Namespace: C1.Win.Accessibility.Items.BaseInterfaces
Assembly: C1.Win.8.dll
Syntax
public interface IUiaScrollProvider

Properties

Name Description
HorizontalScrollPercent

Get the current horizontal scroll position

HorizontalViewSize

Equal to the horizontal percentage of the entire control that is currently viewable.

HorizontallyScrollable

True if control can scroll horizontally

VerticalScrollPercent

Get the current vertical scroll position

VerticalViewSize

Equal to the horizontal percentage of the entire control that is currently viewable.

VerticallyScrollable

True if control can scroll vertically

Methods

Name Description
Scroll(ScrollAmount, ScrollAmount)

Request to scroll horizontally and vertically by the specified amount. The ability to call this method and simultaneously scroll horizontally and vertically provides simple panning support.

SetScrollPercent(double, double)

Request to set the current horizontal and Vertical scroll position by percent (0-100). Passing in the value of "-1", represented by the constant "NoScroll", will indicate that scrolling in that direction should be ignored. The ability to call this method and simultaneously scroll horizontally and vertically provides simple panning support.