GoDiagram Win Reference
GetContextMenuStrip Method

may be null
Called to get a ContextMenuStrip to display for this object.
Syntax
'Declaration
 
Public Overridable Function GetContextMenuStrip( _
   ByVal view As GoView _
) As ContextMenuStrip
public virtual ContextMenuStrip GetContextMenuStrip( 
   GoView view
)

Parameters

view
may be null

Return Value

a System.Windows.Forms.ContextMenuStrip, or null to indicate no context menu for this object.
Remarks
By default this just returns null. A non-null value indicates this object has handled the standard context click event and thus that the calling view need not continue calling this method up the chain of parents. GoView.GoView.DoContextClick is the normal caller.
Requirements

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

See Also

Reference

GoObject Class
GoObject Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback