Enum AnnotationConstraints
Enables or disables certain features and behaviors of the annotations.
Namespace: Syncfusion.Blazor.Diagram
Assembly: Syncfusion.Blazor.dll
Syntax
[Flags]
public enum AnnotationConstraints
Examples
Node node = new Node()
{
// Initialize annotation collection
Annotations = new DiagramObjectCollection<ShapeAnnotation>()
{
new ShapeAnnotation
{
Constraints = AnnotationConstraints.ReadOnly,
}
},
};
Fields
| Name | Description |
|---|---|
| InheritReadOnly | Enables or disables the user from inheriting the ReadOnly option from the parent. |
| None | Disables all the functionalities of annotation. |
| ReadOnly | Enables the user to only read the annotation (cannot be edited). |