Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IDropTargetProvider interface

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.

When to implement

A UI Automation element implements this interface if it can receive dropped elements in a drag-and-drop operation. If an element implements this interface, the interface must be present when a drag operation is in progress. The interface is not required to be present when a drag operation is not in progress.

Members

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

Properties

The IDropTargetProvider interface has these properties.

PropertyAccess typeDescription

DropTargetEffect

Read-only

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

DropTargetEffects

Read-only

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.

 

Requirements

Minimum supported client

Windows 8 [desktop apps | UWP apps]

Minimum supported server

Windows Server 2012 [desktop apps | UWP apps]

Header

UIAutomationCore.h (include UIAutomation.h)

IDL

UIAutomationCore.idl

DLL

UIAutomationCore.dll

IID

IID_IDropTargetProvider is defined as bae82bfd-358a-481c-85a0-d8b4d90a5d61

See also

IDragProvider
UI Automation Support for Drag-and-Drop

 

 

Show:
© 2017 Microsoft