Nevron .NET Vision
Nevron.Diagram.WinForm Namespace / NLibraryContextMenuTool Class / ShowContextMenu Method


In This Topic
    ShowContextMenu Method (NLibraryContextMenuTool)
    In This Topic
    Shows the context menu
    Syntax
    'Declaration
     
    
    Protected Overridable Sub ShowContextMenu() 
    'Usage
     
    
    Dim instance As NLibraryContextMenuTool
     
    instance.ShowContextMenu()
    protected virtual void ShowContextMenu()
    Remarks
    This method will perform the following actions:

    1. Get the last document hit which satisfies the ContextMenuEditableFilter (if any)

    2. Call the DetermineContextMenuNode method with the result of the previous step to determine the actual node for which the menu must be shown

    3. Call the BuildContextMenu of the view, and if a valid menu was constructed show it

    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