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.

IUIAutomationScrollPattern interface

Provides access to a control that acts as a scrollable container for a collection of child elements. The children of this element support IUIAutomationScrollItemPattern.

When to implement

UI Automation client applications do not implement IUIAutomationScrollPattern.

Members

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

Methods

The IUIAutomationScrollPattern interface has these methods.

MethodDescription
Scroll

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

SetScrollPercent

Sets the horizontal and vertical scroll positions as a percentage of the total content area within the UI Automation element.

 

Properties

The IUIAutomationScrollPattern interface has these properties.

PropertyAccess typeDescription

CachedHorizontallyScrollable

Read-only

Retrieves a cached value that indicates whether the element can scroll horizontally.

CachedHorizontalScrollPercent

Read-only

Retrieves the cached horizontal scroll position.

CachedHorizontalViewSize

Read-only

Retrieves the cached horizontal size of the viewable region of a scrollable element.

CachedVerticallyScrollable

Read-only

Retrieves a cached value that indicates whether the element can scroll vertically.

CachedVerticalScrollPercent

Read-only

Retrieves the cached vertical scroll position.

CachedVerticalViewSize

Read-only

Retrieves the cached vertical size of the viewable region of a scrollable element.

CurrentHorizontallyScrollable

Read-only

Indicates whether the element can scroll horizontally.

CurrentHorizontalScrollPercent

Read-only

Retrieves the horizontal scroll position.

CurrentHorizontalViewSize

Read-only

Retrieves the horizontal size of the viewable region of a scrollable element.

CurrentVerticallyScrollable

Read-only

Indicates whether the element can scroll vertically.

CurrentVerticalScrollPercent

Read-only

Retrieves the vertical scroll position.

CurrentVerticalViewSize

Read-only

Retrieves the vertical size of the viewable region of a scrollable element.

 

Requirements

Minimum supported client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista, Windows XP with SP3 and Platform Update for Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008, Windows Server 2003 with SP2 and Platform Update for Windows Server 2008 [desktop apps only]

Header

UIAutomationClient.h (include UIAutomation.h)

IDL

UIAutomationClient.idl

DLL

UIAutomationCore.dll

IID

IID_IUIAutomationScrollPattern is defined as 88f4d42a-e881-459d-a77c-73bbbb7e02dc

See also

Control Pattern Interfaces for Clients

 

 

Community Additions

Show:
© 2014 Microsoft