Nevron .NET Vision
Nevron.Diagram.WinForm Namespace / NLibraryContextMenuTool Class / DetermineContextMenuNode Method
hit node (can be null)

In This Topic
    DetermineContextMenuNode Method
    In This Topic
    Determines the node for which a context menu must be show
    Protected Overridable Function DetermineContextMenuNode( _
       ByVal node As INNode _
    ) As INNode
    Dim instance As NLibraryContextMenuTool
    Dim node As INNode
    Dim value As INNode
    value = instance.DetermineContextMenuNode(node)
    protected virtual INNode DetermineContextMenuNode( 
       INNode node


    hit node (can be null)

    Return Value

    node for which to show the menu
    This method will perform the following steps:

    1. If the passed node is null it will return the document.

    2. If the passed node is not selected it will single select it

    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