Delen via


DragEventArgs.Data Property

Definition

Gets or sets a data object (DataPackage) that contains the data associated with the corresponding drag event. This value is not useful in all event cases; specifically, the event must be handled by a valid drop target.

public:
 property DataPackage ^ Data { DataPackage ^ get(); void set(DataPackage ^ value); };
DataPackage Data();

void Data(DataPackage value);
public DataPackage Data { get; set; }
var dataPackage = dragEventArgs.data;
dragEventArgs.data = dataPackage;
Public Property Data As DataPackage

Property Value

The data object that contains data payload that is associated with the corresponding drag event.

Applies to

See also