IUIAutomationTogglePattern class com

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

To learn more, see learn.microsoft.com/windows/win32/api/uiautomationclient/nn-uiautomationclient-iuiautomationtogglepattern.

Inheritance
Implemented types

Constructors

IUIAutomationTogglePattern(VTablePointer ptr)
Creates a new instance of IUIAutomationTogglePattern from a VTablePointer.
IUIAutomationTogglePattern.from(IUnknown interface)
Creates a new instance of IUIAutomationTogglePattern from an existing interface.
factory

Properties

cachedToggleState ToggleState
Retrieves the cached state of the control.
no setter
currentToggleState ToggleState
Retrieves the state of the control.
no setter
hashCode int
The hash code for this object.
no setterinherited
ptr VTablePointer
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addRef() int
Increments the reference count of this COM object.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryInterface<T extends IUnknown>() → T
Queries this COM object for a specific interface defined by the type parameter T.
inherited
release() int
Decrements the reference count of this COM object.
inherited
toggle() → void
Cycles through the toggle states of the control.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited