System.Windows.Forms 1.0.5000.0 2.0.0.0 System.EventArgs System.Runtime.InteropServices.ComVisible(true) The event occurs during a drag-and-drop operation and allows the drag source to determine whether the drag-and-drop operation should be canceled. A specifies whether and how the drag-and-drop operation should proceed, whether any modifier keys are pressed, and whether the user has pressed the ESC key. By default, the event sets to if the ESC key was pressed and sets Action to if the left, middle, or right mouse button is pressed. For information about the event model, see [<topic://cpconEventsDelegates>]. Provides data for the event. Constructor To be added. Initializes a new instance of the class. The current state of the SHIFT, CTRL, and ALT keys. true if the ESC key was pressed; otherwise, false. A value. 1.0.5000.0 2.0.0.0 Property System.Windows.Forms.DragAction To be added. By default, the event sets to if the ESC key was pressed and sets Action to if the left, middle, or right mouse button is pressed. Gets or sets the status of a drag-and-drop operation. 1.0.5000.0 2.0.0.0 Property System.Boolean To be added. By default, the event sets to if is true. Gets whether the user pressed the ESC key. 1.0.5000.0 2.0.0.0 Property System.Int32 To be added. The bits that are set in the property identify the keys or mouse buttons that were pressed during the operation. For example, if the left mouse button is pressed, the first bit in the property is set. You can use the bitwise AND operator to test for a given key state. The following table lists the bits that are set for a specified event. Bit Key 1 The left mouse button. 2 The right mouse button. 4 The SHIFT key. 8 The CTL key. 16 The middle mouse button. 32 The ALT key. By default, the event sets to if indicates that the left, middle, or right mouse button is pressed. Gets the current state of the SHIFT, CTRL, and ALT keys. 1.0.5000.0 2.0.0.0