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


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

    Parameters

    obj
    object for which to build menu

    Return Value

    context menu instance if menu was built, otherwise false
    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