Share via


DragEventArgs(DataPackage) Constructor

Definition

Initializes a new instance of the DragEventArgs class.

public:
 DragEventArgs(Microsoft::Maui::Controls::DataPackage ^ dataPackage);
public DragEventArgs (Microsoft.Maui.Controls.DataPackage dataPackage);
new Microsoft.Maui.Controls.DragEventArgs : Microsoft.Maui.Controls.DataPackage -> Microsoft.Maui.Controls.DragEventArgs
Public Sub New (dataPackage As DataPackage)

Parameters

dataPackage
DataPackage

The data package associated with the drag source.

Applies to