IUIAutomationTogglePattern interface

Provides access to a control that can cycle through a set of states, and maintain a state after it is set.

When to implement

UI Automation client applications do not implement IUIAutomationTogglePattern.

Members

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

Methods

The IUIAutomationTogglePattern interface has these methods.

MethodDescription
Toggle

Cycles through the toggle states of the control.

 

Properties

The IUIAutomationTogglePattern interface has these properties.

PropertyAccess typeDescription

CachedToggleState

Read-only

Retrieves the cached state of the control.

CurrentToggleState

Read-only

Retrieves the state of the control.

 

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_IUIAutomationTogglePattern is defined as 94cf8058-9b8d-4ab9-8bfd-4cd0a33c8c70

See also

Control Pattern Interfaces for Clients

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.