QueryContinueDragEventArgs

QueryContinueDragEventArgs

System. Windows .Forms (system. windows .forms.dll) class

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()}



. Net Windows Forms in a Nutshell
.NET Windows Forms in a Nutshell
ISBN: 0596003382
EAN: 2147483647
Year: 2002
Pages: 794

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net