This documentation is archived and is not being maintained.

IScrollProvider Interface

Exposes methods and properties to support UI Automation client access 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:  UIAutomationProvider (in UIAutomationProvider.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 and vertically.
Public methodSetScrollPercentSets the horizontal and vertical scroll position as a percentage of the total content area within the control.

Implemented on a UI Automation provider that must support the ScrollPattern control pattern.

.NET Framework

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.