Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

DragStartingEventArgs.Data Property

Definition

Namespace:
Windows.UI.Xaml

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.

Applies to

See also


Feedback

Was this page helpful?