IUIAutomationSelectionItemPattern class com

Provides access to the selectable child items of a container control that supports IUIAutomationSelectionPattern.

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

Inheritance
Implemented types

Constructors

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

Properties

cachedIsSelected bool
A cached value that indicates whether this item is selected.
no setter
cachedSelectionContainer IUIAutomationElement?
Retrieves the cached element that supports IUIAutomationSelectionPattern and acts as the container for this item.
no setter
currentIsSelected bool
Indicates whether this item is selected.
no setter
currentSelectionContainer IUIAutomationElement?
Retrieves the element that supports IUIAutomationSelectionPattern and acts as the container for this item.
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
addToSelection() → void
Adds the current element to the collection of selected items.
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
removeFromSelection() → void
Removes this element from the selection.
select() → void
Clears any selected items and then selects the current element.
toString() String
A string representation of this object.
override

Operators

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