Udostępnij za pośrednictwem


DragStartingEventArgs.Data Property

Definition

Gets the data payload associated with a drag action.

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

Property Value

The data payload. The default is an empty DataPackage.

Remarks

In your DragStarting event handler, use the DataPackage.SetData method to provide the data being dragged.

Applies to

See also