IScrollProvider Interface

IScrollProvider Interface

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Exposes methods and properties to support access by a UI automation client to a control that acts as a scrollable container for a collection of child objects. The children of this control must implement IScrollItemProvider.

Namespace:  System.Windows.Automation.Provider
Assembly:  System.Windows (in System.Windows.dll)

public interface IScrollProvider

The IScrollProvider type exposes the following members.

Public propertyHorizontallyScrollableGets a value that indicates whether the control can scroll horizontally.
Public propertyHorizontalScrollPercentGets the current horizontal scroll position.
Public propertyHorizontalViewSizeGets the current horizontal view size.
Public propertyVerticallyScrollableGets a value that indicates whether the control can scroll vertically.
Public propertyVerticalScrollPercentGets the current vertical scroll position.
Public propertyVerticalViewSizeGets the vertical view size.

Public methodScrollScrolls the visible region of the content area horizontally, vertically, or both.
Public methodSetScrollPercentSets the horizontal and vertical scroll position as a percentage of the total content area within the control.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2017 Microsoft