Sdílet prostřednictvím


IDropTargetProvider.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 = iDropTargetProvider.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 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