WorkflowDesignerMessageFilter::OnMouseWheel Method (MouseEventArgs^)

 

Occurs when the mouse wheel moves.

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

protected:
virtual bool OnMouseWheel(
	MouseEventArgs^ eventArgs
)

Parameters

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

A MouseEventArgs that contains information about the event.

Return Value

Type: System::Boolean

true if the message is handled; otherwise, false.

OnMouseWheel occurs when the mouse wheel moves.

The following code example shows how to override the OnMouseWheel method to zoom the WorkflowView object based on the Delta property of the MouseEventArgs and to return false so that other components in the designer architecture can process the method.

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

.NET Framework
Available since 3.0
Return to top
Show: