Name
QueryContinueDragEventArgs
Synopsis
This class encapsulates the data for the
Control.QueryContinueDrag event.
The Control raises this event periodically
throughout a drag-and-drop operation initiated by
Control.DoDragDrop().
If you bind to it, you can use this object to set the expected
Action, perhaps forcing the operation to
Continue or Cancel.
EscapePressed and KeyState
provide information as to whether the user pressed the Esc key, and
which other modifier keys (CTRL,
SHIFT, ALT) were depressed at
the time.
public class QueryContinueDragEventArgs : EventArgs { // Public Constructors public QueryContinueDragEventArgs(int keyState, bool escapePressed, DragAction action); // Public Instance Properties public DragAction Action{set; get; } public bool EscapePressed{get; } public int KeyState{get; } }
Hierarchy
System.Object
→ System.EventArgs → QueryContinueDragEventArgs
Passed To
Control.OnQueryContinueDrag(),
QueryContinueDragEventHandler.{BeginInvoke(),
Invoke()}
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access