Windows Dev Center

IScrollProvider Interface

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

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.

  NameDescription
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.
Top

  NameDescription
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.
Top

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2015 Microsoft