ClassDiagramNote Class

A note of a class diagram, alone or attached to a class.

public sealed class ClassDiagramNote

Constructors

NameDescription
ClassDiagramNote(DiagramText, ClassDiagramClass?)Initializes a new instance of the ClassDiagramNote class.

ClassDiagramNote(DiagramText, ClassDiagramClass?)

ClassDiagramNote.cs

Initializes a new instance of the ClassDiagramNote class.

public ClassDiagramNote(DiagramText text, ClassDiagramClass? @class = null)

Parameters

text DiagramText
The text of the note.
class ClassDiagramClass?
The class the note is attached to, or null for a note alone.

Properties

NameDescription
ClassGets or sets the class the note is attached to, or null for a note alone.
TextGets or sets the text of the note.

Gets or sets the class the note is attached to, or null for a note alone.

public ClassDiagramClass? Class { get; set; }

Property value

ClassDiagramClass?

Gets or sets the text of the note.

public DiagramText Text { get; set; }

Property value

DiagramText