IUIAutomationDragPattern class com

Provides access to information exposed by a UI Automation provider for an element that can be dragged as part of a drag-and-drop operation.

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

Inheritance
Implemented types

Constructors

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

Properties

cachedDropEffect BSTR
Retrieves a cached localized string that indicates what happens when the user drops this element as part of a drag-and-drop operation.
no setter
cachedDropEffects Pointer<SAFEARRAY>
Retrieves a cached array of localized strings that enumerate the full set of effects that can happen when the user drops this element as part of a drag-and-drop operation.
no setter
cachedIsGrabbed bool
Retrieves a cached value that indicates whether this element has been grabbed as part of a drag-and-drop operation.
no setter
currentDropEffect BSTR
Retrieves a localized string that indicates what happens when the user drops this element as part of a drag-drop operation.
no setter
currentDropEffects Pointer<SAFEARRAY>
Retrieves an array of localized strings that enumerate the full set of effects that can happen when this element as part of a drag-and-drop operation.
no setter
currentIsGrabbed bool
Indicates whether the user has grabbed this element as part of a drag-and-drop operation.
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
getCachedGrabbedItems() IUIAutomationElementArray?
Retrieves a cached collection of elements that represent the full set of items that the user is dragging as part of a drag operation.
getCurrentGrabbedItems() IUIAutomationElementArray?
Retrieves a collection of elements that represent the full set of items that the user is dragging as part of a drag operation.
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
toString() String
A string representation of this object.
override

Operators

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