DragStartingEventArgs.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 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.