SpreadsheetGear.Windows.Forms Namespace > RangeExplorer Class : QueryContinueDrag Event |
'Declaration
<SRCategoryAttribute("Drag Drop")> <SRDescriptionAttribute("Occurs when the mouse drags an item. The system requests whether the drag-and-drop operation should be allowed to continue.")> Public Event QueryContinueDrag As System.Windows.Forms.QueryContinueDragEventHandler
'Usage
Dim instance As RangeExplorer Dim handler As System.Windows.Forms.QueryContinueDragEventHandler AddHandler instance.QueryContinueDrag, handler
[SRCategory("Drag Drop")] [SRDescription("Occurs when the mouse drags an item. The system requests whether the drag-and-drop operation should be allowed to continue.")] public event System.Windows.Forms.QueryContinueDragEventHandler QueryContinueDrag
public event QueryContinueDrag: System.Windows.Forms.QueryContinueDragEventHandler;
In JScript, you can handle the events defined by another class, but you cannot define your own.
[SRCategory("Drag Drop")] [SRDescription("Occurs when the mouse drags an item. The system requests whether the drag-and-drop operation should be allowed to continue.")] public: __event System.Windows.Forms.QueryContinueDragEventHandler* QueryContinueDrag
[SRCategory("Drag Drop")] [SRDescription("Occurs when the mouse drags an item. The system requests whether the drag-and-drop operation should be allowed to continue.")] public: event System.Windows.Forms.QueryContinueDragEventHandler^ QueryContinueDrag
The event handler receives an argument of type System.Windows.Forms.QueryContinueDragEventArgs containing data related to this event. The following QueryContinueDragEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Action | Gets or sets the status of a drag-and-drop operation. |
EscapePressed | Gets whether the user pressed the ESC key. |
KeyState | Gets the current state of the SHIFT, CTRL, and ALT keys. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2