WorkflowDesignerMessageFilter::OnShowContextMenu Method (Point)

 

Occurs when the workflow should show a context menu.

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

protected:
virtual bool OnShowContextMenu(
	Point screenMenuPoint
)

Parameters

screenMenuPoint
Type: System.Drawing::Point

The point at which to the context menu is shown.

Return Value

Type: System::Boolean

true if the message is handled; otherwise, false.

OnShowContextMenu occurs when the workflow should show a context menu.

The following code example shows how to override the OnShowContextMenu 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: