IDragProvider.DropEffect Property

Definition

Gets a string that indicates what will happen when the item is dropped.

public:
 property Platform::String ^ DropEffect { Platform::String ^ get(); };
winrt::hstring DropEffect();
public string DropEffect { get; }
var string = iDragProvider.dropEffect;
Public ReadOnly Property DropEffect As String

Property Value

String

Platform::String

winrt::hstring

A string that indicates what will happen when the item is dropped.

Remarks

This property describes the default effect that happens when a grabbed element is dropped on a target, such as moving or copying the element. This property is null if this element doesn't implement the source-only style of drag-and-drop; that is, if the drop target defines its own drop effects. 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.

Applies to