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.

IUIAutomationExpandCollapsePattern interface

Provides access to a control that can visually expand to display content, and collapse to hide content.

When to implement

UI Automation client applications do not implement IUIAutomationExpandCollapsePattern.

Members

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

Methods

The IUIAutomationExpandCollapsePattern interface has these methods.

MethodDescription
Collapse

Hides all child nodes, controls, or content of the element.

Expand

Displays all child nodes, controls, or content of the element.

 

Properties

The IUIAutomationExpandCollapsePattern interface has these properties.

PropertyAccess typeDescription

CachedExpandCollapseState

Read-only

Retrieves a cached value that indicates the state, expanded or collapsed, of the element.

CurrentExpandCollapseState

Read-only

Retrieves a value that indicates the state, expanded or collapsed, of the 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_IUIAutomationExpandCollapsePattern is defined as 619be086-1f4e-4ee4-bafa-210128738730

See also

Control Pattern Interfaces for Clients

 

 

Show:
© 2016 Microsoft