GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoGeneralNode Class / CreatePortLabel Method
Example
In This Topic
    CreatePortLabel Method
    In This Topic
    Create a label for a port.
    Syntax
    protected virtual GoGeneralNodePortLabel CreatePortLabel( 
       bool input
    )

    Parameters

    input

    Return Value

    Remarks
    This method is called by MakePort to create a label for a port.
    Example
    If you override this method, you may want the definition to do some of the things that the standard definition does: If you don't want any port labels, you can override this method to return null.
    protected virtual GoGeneralNodePortLabel CreatePortLabel(bool input) {
      GoGeneralNodePortLabel l = new GoGeneralNodePortLabel();
      return l;
    }
    See Also