IScrollProvider Interface
Microsoft Silverlight will reach end of support after October 2021. Learn more.
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 | |
---|---|---|
HorizontallyScrollable | Gets a value that indicates whether the control can scroll horizontally. | |
HorizontalScrollPercent | Gets the current horizontal scroll position. | |
HorizontalViewSize | Gets the current horizontal view size. | |
VerticallyScrollable | Gets a value that indicates whether the control can scroll vertically. | |
VerticalScrollPercent | Gets the current vertical scroll position. | |
VerticalViewSize | Gets the vertical view size. |
Top
Methods
Name | Description | |
---|---|---|
Scroll | Scrolls the visible region of the content area horizontally, vertically, or both. | |
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.
See Also