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.

IDragProvider::DropEffects property

Retrieves an array of localized strings that enumerate the full set of effects that can happen when this element is dropped as part of a drag-and-drop operation.

This property is read-only.

Syntax


HRESULT get_DropEffects(
  [out, retval, optional]  SAFEARRAY **pRetVal
);

Property value

Type: SAFEARRAY**

An array of localized strings that enumerate the possible effects of dropping an element. If the element cannot be dropped at the current position, the provider returns an empty (not NULL) array.

Remarks

Some drag operations support a set of different drop effects. For example, a drag operation initiated through a right-click might display a menu of options when the element is dropped. In the source-only style of Microsoft UI Automation drag-and-drop, no elements implement the DropTarget pattern. To find out what effect dropping the dragged element will have, a client can query the DropEffect property of the dragged element. This property can be a short string such as "move", or a longer one, such as "insert into Main group". The strings are always localized.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

UIAutomationCore.h (include UIAutomation.h)

IDL

UIAutomationCore.idl

See also

IDragProvider

 

 

Community Additions

Show:
© 2014 Microsoft