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)

Syntax

Public Interface IScrollProvider
public interface IScrollProvider

The IScrollProvider type exposes the following members.

Properties

  Name Description
HorizontallyScrollable Gets a value that indicates whether the control can scroll horizontally.
HorizontalScrollPercent Gets the current horizontal scroll position.
HorizontalViewSize Gets the current horizontal view size.
VerticallyScrollable Gets a value that indicates whether the control can scroll vertically.
VerticalScrollPercent Gets the current vertical scroll position.
VerticalViewSize Gets the vertical view size.

Top

Methods

  Name Description
Scroll Scrolls the visible region of the content area horizontally, vertically, or both.
SetScrollPercent Sets the horizontal and vertical scroll position as a percentage of the total content area within the control.

Top

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

System.Windows.Automation.Provider Namespace