Nevron Open Vision Documentation
Nevron.Nov.Diagram Namespace / NDrawingContextMenu Class / CreateElementSpecificCommands Method


In This Topic
    CreateElementSpecificCommands Method (NDrawingContextMenu)
    In This Topic
    Creates the menu items specific for the given element. The default implementation checks whether the element implements the Nevron.Nov.Internal.OtWC interface and if it does, calls its Nevron.Nov.Internal.OtWC.AppendContextMenuItems method.
    Syntax
    'Declaration
     
    
    Protected Overridable Sub CreateElementSpecificCommands( _
       ByVal menu As NMenu, _
       ByVal element As NElement, _
       ByVal builder As NContextMenuBuilder _
    ) 
    'Usage
     
    
    Dim instance As NDrawingContextMenu
    Dim menu As NMenu
    Dim element As NElement
    Dim builder As NContextMenuBuilder
     
    instance.CreateElementSpecificCommands(menu, element, builder)
    protected virtual void CreateElementSpecificCommands( 
       NMenu menu,
       NElement element,
       NContextMenuBuilder builder
    )

    Parameters

    menu
    element
    builder
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also