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.
| Method | Description |
|---|---|
| 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.
| Property | Description |
|---|---|
|
Retrieves a cached localized string that indicates what happens when the user drops this element as part of a drag-and-drop operation. | |
|
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. | |
|
Retrieves a cached value that indicates whether this element has been grabbed as part of a drag-and-drop operation. | |
|
Retrieves a localized string that indicates what happens when the user drops this element as part of a drag-drop operation. | |
|
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. | |
|
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 |
|
|
IDL |
|
|
DLL |
|
|
IID |
IID_IUIAutomationDragPattern is defined as 6d74d017-6ecb-4381-b38b-3c17a48ff1c2 |
See also
Send comments about this topic to Microsoft
Build date: 11/28/2012
