Nevron .NET Vision
Nevron.Diagram.WinForm.Commands Namespace / NDiagramContextMenuBuilder Class / BuildContextMenu Method
object to build menu for


In This Topic
    BuildContextMenu Method (NDiagramContextMenuBuilder)
    In This Topic
    Builds a context menu for the specifed object
    Syntax
    'Declaration
     
    
    Public Overridable Function BuildContextMenu( _
       ByVal obj As System.Object _
    ) As NContextMenu
    'Usage
     
    
    Dim instance As NDiagramContextMenuBuilder
    Dim obj As System.Object
    Dim value As NContextMenu
     
    value = instance.BuildContextMenu(obj)
    public virtual NContextMenu BuildContextMenu( 
       System.object obj
    )

    Parameters

    obj
    object to build menu for

    Return Value

    new context menu
    Remarks
    This implementation simply creates a new context menu and calls the AddSpecificCommands, AddGenericCommands and AddVerbs methods.
    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