Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IUIAutomationDragPattern interface

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.

When to implement

UI Automation client applications do not implement IUIAutomationDragPattern.

Members

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

Methods

The IUIAutomationDragPattern interface has these methods.

MethodDescription
GetCachedGrabbedItems

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

Retrieves a collection of elements that represent the full set of items that the user is dragging as part of a drag operation.

 

Properties

The IUIAutomationDragPattern interface has these properties.

PropertyAccess typeDescription

CachedDropEffect

Read-only

Retrieves a cached localized string that indicates what happens when the user drops this element as part of a drag-and-drop operation.

CachedDropEffects

Read-only

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.

CachedIsGrabbed

Read-only

Retrieves a cached value that indicates whether this element has been grabbed as part of a drag-and-drop operation.

CurrentDropEffect

Read-only

Retrieves a localized string that indicates what happens when the user drops this element as part of a drag-drop operation.

CurrentDropEffects

Read-only

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.

CurrentIsGrabbed

Read-only

Indicates whether the user has grabbed this element as part of a drag-and-drop operation.

 

Remarks

Microsoft UI Automation clients use this interface to access the dragging properties and functionality of a control or UI element that the user can drag-and-drop on a drop target.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

UIAutomationClient.h (include UIAutomation.h)

IDL

UIAutomationClient.idl

DLL

UIAutomationCore.dll

IID

IID_IUIAutomationDragPattern is defined as 6d74d017-6ecb-4381-b38b-3c17a48ff1c2

See also

Control Pattern Interfaces for Clients
UI Automation Support for Drag-and-Drop

 

 

Community Additions

ADD
Show:
© 2015 Microsoft