Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

[ComVisibleAttribute(true)]
[GuidAttribute("b38b8077-1fc3-42a5-8cae-d40c2215055a")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IScrollProvider

NameDescription
System_CAPS_pubpropertyHorizontallyScrollable

Gets a value that indicates whether the control can scroll horizontally.

System_CAPS_pubpropertyHorizontalScrollPercent

Gets the current horizontal scroll position.

System_CAPS_pubpropertyHorizontalViewSize

Gets the current horizontal view size.

System_CAPS_pubpropertyVerticallyScrollable

Gets a value that indicates whether the control can scroll vertically.

System_CAPS_pubpropertyVerticalScrollPercent

Gets the current vertical scroll position.

System_CAPS_pubpropertyVerticalViewSize

Gets the vertical view size.

NameDescription
System_CAPS_pubmethodScroll(ScrollAmount, ScrollAmount)

Scrolls the visible region of the content area horizontally and vertically.

System_CAPS_pubmethodSetScrollPercent(Double, Double)

Sets 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
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show:
© 2017 Microsoft