Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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)
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[ComVisibleAttribute(true)]
[GuidAttribute("b38b8077-1fc3-42a5-8cae-d40c2215055a")]
public interface IScrollProvider

The IScrollProvider type exposes the following members.

  NameDescription
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.
Top
  NameDescription
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.
Top

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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.