IScrollProvider interface (uiautomationcore.h)

Provides access to controls that act as scrollable containers for a collection of child objects. The children of this control must implement IScrollItemProvider.


The IScrollProvider interface inherits from the IUnknown interface. IScrollProvider also has these types of members:


The IScrollProvider interface has these methods.

Method Description
IScrollProvider::get_HorizontallyScrollable Indicates whether the control can scroll horizontally.
IScrollProvider::get_HorizontalScrollPercent Specifies the horizontal scroll position.
IScrollProvider::get_HorizontalViewSize Specifies the horizontal size of the viewable region.
IScrollProvider::get_VerticallyScrollable Indicates whether the control can scroll vertically.
IScrollProvider::get_VerticalScrollPercent Specifies the vertical scroll position.
IScrollProvider::get_VerticalViewSize Specifies the vertical size of the viewable region.
IScrollProvider::Scroll Scrolls the visible region of the content area horizontally and vertically.
IScrollProvider::SetScrollPercent Sets the horizontal and vertical scroll position as a percentage of the total content area within the control.


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


Minimum supported client Windows XP [desktop apps | UWP apps]
Minimum supported server Windows Server 2003 [desktop apps | UWP apps]
Target Platform Windows
Header uiautomationcore.h (include UIAutomation.h)

See also

UI Automation Providers Overview