Nevron Open Vision Documentation
Nevron.Nov.Schedule Namespace / NScheduleContextMenu Class / CreateElementSpecificCommands Method


In This Topic
    CreateElementSpecificCommands Method (NScheduleContextMenu)
    In This Topic
    Creates context menu commands for the given element and adds them to the specified menu.
    Syntax
    'Declaration
     
    
    Protected Overridable Sub CreateElementSpecificCommands( _
       ByVal menu As NMenu, _
       ByVal element As NElement _
    ) 
    'Usage
     
    
    Dim instance As NScheduleContextMenu
    Dim menu As NMenu
    Dim element As NElement
     
    instance.CreateElementSpecificCommands(menu, element)
    protected virtual void CreateElementSpecificCommands( 
       NMenu menu,
       NElement element
    )

    Parameters

    menu
    element
    Remarks
    The default implementation of this method checks whether the given object implements the INAppendContextMenuItems interface and if it does, calls its AppendContextMenuItems method.
    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