Visual Basic (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 QueryContinueDragEventHandler |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As CredentialsDialog Dim handler As QueryContinueDragEventHandler AddHandler instance.QueryContinueDrag, handler |
C# | |
---|---|
[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 QueryContinueDragEventHandler QueryContinueDrag |
C++/CLI | |
---|---|
[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 QueryContinueDragEventHandler^ QueryContinueDrag |
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. |
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