IScrollProvider Interface

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

'Declaration
Public Interface IScrollProvider
public interface IScrollProvider

The IScrollProvider type exposes the following members.

Properties

  Name Description
Public propertySupported by Silverlight for Windows Phone HorizontallyScrollable Gets a value that indicates whether the control can scroll horizontally.
Public propertySupported by Silverlight for Windows Phone HorizontalScrollPercent Gets the current horizontal scroll position.
Public propertySupported by Silverlight for Windows Phone HorizontalViewSize Gets the current horizontal view size.
Public propertySupported by Silverlight for Windows Phone VerticallyScrollable Gets a value that indicates whether the control can scroll vertically.
Public propertySupported by Silverlight for Windows Phone VerticalScrollPercent Gets the current vertical scroll position.
Public propertySupported by Silverlight for Windows Phone VerticalViewSize Gets the vertical view size.

Top

Methods

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

Top

Remarks

This interface is implemented in a UI automation provider that must support the Scroll control pattern.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.