IDropTargetProvider interface (uiautomationcore.h)

Enables a Microsoft UI Automation element to describe itself as an element that can receive a drop of a dragged element as part of a UI Automation drag-and-drop operation.


The IDropTargetProvider interface inherits from the IUnknown interface.


The IDropTargetProvider interface has these methods.


Retrieves a localized string that describes the effect that happens when the user drops the grabbed element on this drop target.

Retrieves an array of localized strings that enumerate the full set of effects that can happen when the user drops a grabbed element on this drop target as part of a drag-and-drop operation.


Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Target Platform Windows
Header uiautomationcore.h (include UIAutomation.h)

See also


UI Automation Support for Drag-and-Drop