WorkflowDesignerMessageFilter::OnQueryContinueDrag Method (QueryContinueDragEventArgs^)

 

Occurs during a drag operation.

Namespace:   System.Workflow.ComponentModel.Design
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

protected:
virtual bool OnQueryContinueDrag(
	QueryContinueDragEventArgs^ eventArgs
)

Parameters

eventArgs
Type: System.Windows.Forms::QueryContinueDragEventArgs^

A QueryContinueDragEventArgs that contains information about the event.

Return Value

Type: System::Boolean

true if the message is handled; otherwise, false.

OnQueryContinueDrag occurs during a drag operation. The OnQueryContinueDrag event allows the drag source to determine whether the drag operation should be canceled.

The following code example shows how to override the OnQueryContinueDrag method so that it always returns true.

This code example is part of the Basic Designer Hosting SDK Sample from the DesignerShell.cs file. For more information, seeBasic Designer Hosting.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show: