Delen via


DragItemsStartingEventArgs.Data Property

Definition

Gets the data payload associated with an items drag action.

public:
 property DataPackage ^ Data { DataPackage ^ get(); };
DataPackage Data();
public DataPackage Data { get; }
var dataPackage = dragItemsStartingEventArgs.data;
Public ReadOnly Property Data As DataPackage

Property Value

The data payload.

Remarks

By default the data is empty. When you perform custom actions as the result of a drag-and-drop operation, you typically provide custom data that can later be inspected and used to perform the custom action.

Applies to

See also