Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IScrollProvider Interface

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.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft