DragDropHelper.GetDraggedModelItem(DragEventArgs) Method
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.
Caution
This method does not support dragging multiple items. Use "public static IEnumerable<ModelItem> GetDraggedModelItems(DragEventArgs e)" instead.
Retrieves the object that is being dragged in a drag-and-drop operation.
public:
static System::Activities::Presentation::Model::ModelItem ^ GetDraggedModelItem(System::Windows::DragEventArgs ^ e);
public static System.Activities.Presentation.Model.ModelItem GetDraggedModelItem (System.Windows.DragEventArgs e);
[System.Obsolete("This method does not support dragging multiple items. Use "public static IEnumerable<ModelItem> GetDraggedModelItems(DragEventArgs e)" instead.")]
public static System.Activities.Presentation.Model.ModelItem GetDraggedModelItem (System.Windows.DragEventArgs e);
static member GetDraggedModelItem : System.Windows.DragEventArgs -> System.Activities.Presentation.Model.ModelItem
[<System.Obsolete("This method does not support dragging multiple items. Use "public static IEnumerable<ModelItem> GetDraggedModelItems(DragEventArgs e)" instead.")>]
static member GetDraggedModelItem : System.Windows.DragEventArgs -> System.Activities.Presentation.Model.ModelItem
Public Shared Function GetDraggedModelItem (e As DragEventArgs) As ModelItem
Parameters
The drag event data.
Returns
The model item that was dragged.
- Attributes
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.