QueryContinueDragEventArgs.Action Property

Definition

Gets or sets the current status of the associated drag-and-drop operation.

public:
 property System::Windows::DragAction Action { System::Windows::DragAction get(); void set(System::Windows::DragAction value); };
public System.Windows.DragAction Action { get; set; }
member this.Action : System.Windows.DragAction with get, set
Public Property Action As DragAction

Property Value

DragAction

A member of the DragAction enumeration indicating the current status of the associated drag-and-drop operation.

Remarks

By default, the QueryContinueDrag event sets the Action property to Cancel if the ESC key is pressed, and sets Action to Drop if the left, middle, or right mouse button is released.

Applies to