GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoSubGraph Class / CreateLabel Method
Example
In This Topic
    CreateLabel Method (GoSubGraph)
    In This Topic
    This creates the initial text label--an editable, bold, single-line GoText that wraps.
    Syntax
    protected virtual GoText CreateLabel()
    Example
    If you override this method, you may want the definition to do some of the things that the standard definition does:
    protected virtual GoText CreateLabel() {
      GoText t = new GoText();
      t.Selectable = false;
      t.Alignment = MiddleBottom;
      t.Wrapping = true;
      t.Bold = true;
      t.Editable = true;
      return t;
    }
    See Also