IUIAutomationDragPattern::CachedDropEffects property

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.

This property is read-only.

Syntax


HRESULT get_CachedDropEffects(
  [out, retval, optional]  SAFEARRAY **retVal
);

Property value

Type: SAFEARRAY**

A cached array of localized strings that enumerate the full set of effects associated with dropping this element.

Remarks

Some drag operations support a set of different drop effects. For example, a drag operation that is initiated with a right-click might display a menu of options for the action that occurs 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 the set of effects that can happen when the grabbed element is dropped, a client can query the DropEffects property of the dragged element. This property can contain short strings such as "move", or longer ones such as "insert into Main group". The strings are always localized.

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

See also

IUIAutomationDragPattern

 

 

Community Additions

ADD
Show:
© 2014 Microsoft