GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoComment Class / CreateLabel Method
Example
In This Topic
    CreateLabel Method (GoComment)
    In This Topic
    Create and initialize the GoText label for displaying the comment, which normally supports multiple lines and is editable.
    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 l = new GoText();
      l.Selectable = false;
      l.Multiline = true;
      l.Editable = true;
      this.Editable = true;
      return l;
    }
    See Also