QueryContinueDragEventArgs.Action Property
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.
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
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.