Skip to main content
IUIAutomationDropTargetPattern::CurrentDropTargetEffect property

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

This property is read-only.

Syntax


HRESULT get_CurrentDropTargetEffect(
  [out, retval, optional]  BSTR *retVal
);

Property value

Type: BSTR*

A localized string that describes the effect of dropping the grabbed element on this drop target.

Remarks

This property describes the default effect that happens when the user drops a grabbed element on a target, such as moving or copying the element. This property can be a short string such as "move", or a longer one such as "insert into Main group". The string is 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

IUIAutomationDropTargetPattern