Occurs during a drag-and-drop operation and enables the drag source to determine whether the drag-and-drop operation should be canceled.
Syntax
Visual Basic (Declaration) | |
---|
<SRDescriptionAttribute("Occurs when the mouse drags an item. The system requests whether the drag-and-drop operation should be allowed to continue.")>
<SRCategoryAttribute("Drag Drop")>
Public Event QueryContinueDrag As QueryContinueDragEventHandler |
C# | |
---|
[SRDescriptionAttribute("Occurs when the mouse drags an item. The system requests whether the drag-and-drop operation should be allowed to continue.")]
[SRCategoryAttribute("Drag Drop")]
public event QueryContinueDragEventHandler QueryContinueDrag |
C++/CLI | |
---|
[SRDescriptionAttribute("Occurs when the mouse drags an item. The system requests whether the drag-and-drop operation should be allowed to continue.")]
[SRCategoryAttribute("Drag Drop")]
public:
event QueryContinueDragEventHandler^ QueryContinueDrag |
Event Data
The event handler receives an argument of type 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. |
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
See Also