Redigera

Dela via


DragDropHelper.SetDragDropCompletedEffects Method

Definition

Caution

This method does not support dragging multiple items. Consider using "public static void SetDragDropMovedViewElements(DragEventArgs e, IEnumerable<WorkflowViewElement> movedViewElements)" instead.

Sets the final effect that is to be performed during the drag-and-drop operation.

public:
 static void SetDragDropCompletedEffects(System::Windows::DragEventArgs ^ e, System::Windows::DragDropEffects completedEffects);
public static void SetDragDropCompletedEffects (System.Windows.DragEventArgs e, System.Windows.DragDropEffects completedEffects);
[System.Obsolete("This method does not support dragging multiple items. Consider using "public static void SetDragDropMovedViewElements(DragEventArgs e, IEnumerable<WorkflowViewElement> movedViewElements)" instead.")]
public static void SetDragDropCompletedEffects (System.Windows.DragEventArgs e, System.Windows.DragDropEffects completedEffects);
static member SetDragDropCompletedEffects : System.Windows.DragEventArgs * System.Windows.DragDropEffects -> unit
[<System.Obsolete("This method does not support dragging multiple items. Consider using "public static void SetDragDropMovedViewElements(DragEventArgs e, IEnumerable<WorkflowViewElement> movedViewElements)" instead.")>]
static member SetDragDropCompletedEffects : System.Windows.DragEventArgs * System.Windows.DragDropEffects -> unit
Public Shared Sub SetDragDropCompletedEffects (e As DragEventArgs, completedEffects As DragDropEffects)

Parameters

e
DragEventArgs

The drag event data.

completedEffects
DragDropEffects

The desired effects of a drag-and-drop operation.

Attributes

Applies to