Class GLabel
Denotes a label in a GLSP graph
public class GLabel : GElement
- Inheritance
-
GLabel
- Inherited Members
Properties
EdgeLabelPlacement
Denotes where to place the label on an edge
public EdgeLabelPlacement EdgeLabelPlacement { get; set; }
Property Value
SupportsLabelChange
True, if the label supports changes, otherwise false
[JsonIgnore]
public bool SupportsLabelChange { get; }
Property Value
Text
Gets or sets the text of the label
public string Text { get; set; }
Property Value
Methods
Validate(string)
Validates the given input text
public ValidationStatus Validate(string text)
Parameters
text
stringThe text to validate
Returns
- ValidationStatus
A validation status
Events
TextChanged
Raised when the text changed
public event Action<string> TextChanged