SpreadsheetGear 2012
QueryContinueDrag Event (WorkbookView)






Syntax
'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 WorkbookView
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
Event Data

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.

PropertyDescription
ActionGets or sets the status of a drag-and-drop operation.  
EscapePressedGets whether the user pressed the ESC key.  
KeyStateGets the current state of the SHIFT, CTRL, and ALT keys.  
Requirements

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

See Also

Reference

WorkbookView Class
WorkbookView Members

Send Feedback