StateNote Class

A note next to a state.

public sealed class StateNote

Constructors

NameDescription
StateNote(StateDiagramState, DiagramText, StateNotePosition)Initializes a new instance of the StateNote class.

StateNote(StateDiagramState, DiagramText, StateNotePosition)

StateNote.cs

Initializes a new instance of the StateNote class.

public StateNote(StateDiagramState state, DiagramText text, StateNotePosition position = StateNotePosition.Right)

Parameters

state StateDiagramState
The state the note is about.
text DiagramText
The text of the note.
position StateNotePosition
The side of the state the note is on.

Properties

NameDescription
PositionGets or sets the side of the state the note is on.
StateGets the state the note is about.
TextGets or sets the text of the note.

Position

StateNote.cs

Gets or sets the side of the state the note is on.

public StateNotePosition Position { get; set; }

Property value

StateNotePosition

Gets the state the note is about.

public StateDiagramState State { get; }

Property value

StateDiagramState

Gets or sets the text of the note.

public DiagramText Text { get; set; }

Property value

DiagramText