DragEventArgs.Data Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.