GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoBasicNode Class / Label Property
In This Topic
    Label Property (GoBasicNode)
    In This Topic
    Gets or sets the GoText, the label for this node (or null if there is no label).
    public override GoText Label {get; set;}

    Property Value

    Initially this value may be null. You can set the Text value to a non-null string in order to create the label. The new value may be null, to simply remove the label. If non-null, the new text object should have the Selectable property set to false.
    If you need to use your own subclass of GoText, instead of setting the label after creating a node, you may find it easier to override the CreateLabel method.
    See Also