QueryContinueDragEventArgs::Action Property

 

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

Namespace:   System.Windows
Assembly:  PresentationCore (in PresentationCore.dll)

public:
property DragAction Action {
	DragAction get();
	void set(DragAction value);
}

Property Value

Type: System.Windows::DragAction

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

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.

.NET Framework
Available since 3.0
Return to top
Show: