IScrollProvider interface
Provides access to controls that act as scrollable containers for a collection of child objects. The children of this control must implement IScrollItemProvider.
Members
The IScrollProvider interface inherits from the IUnknown interface. IScrollProvider also has these types of members:
Methods
The IScrollProvider interface has these methods.
| Method | Description |
|---|---|
| Scroll |
Scrolls the visible region of the content area horizontally and vertically. |
| SetScrollPercent |
Sets the horizontal and vertical scroll position as a percentage of the total content area within the control. |
Properties
The IScrollProvider interface has these properties.
| Property | Access type | Description |
|---|---|---|
|
Read-only |
Indicates whether the control can scroll horizontally. | |
|
Read-only |
Specifies the horizontal scroll position. | |
|
Read-only |
Specifies the horizontal size of the viewable region. | |
|
Read-only |
Indicates whether the control can scroll vertically. | |
|
Read-only |
Specifies the vertical scroll position. | |
|
Read-only |
Specifies the vertical size of the viewable region. |
Remarks
Implemented on a Microsoft UI Automation provider that must support the Scroll control pattern.
Requirements
|
Minimum supported client |
Windows XP [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps | Windows Store apps] |
|
Header |
|
|
IDL |
|
|
DLL |
|
|
IID |
IID_IScrollProvider is defined as b38b8077-1fc3-42a5-8cae-d40c2215055a |
See also