alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Enum AnnotationConstraints

    Enables or disables certain features and behaviors of the annotations.

    Namespace: Syncfusion.Blazor.Diagram
    Assembly: Syncfusion.Blazor.Diagram.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
    Drag

    Enables drag interaction on the annotation.

    InheritReadOnly

    Enables or disables the user from inheriting the ReadOnly option from the parent.

    Interaction

    Enables all interactive behaviors: Select, Drag, Resize, Rotate.

    None

    Disables all the functionalities of annotation.

    ReadOnly

    Enables the user to only read the annotation (cannot be edited).

    Resize

    Enables resize interaction on the annotation.

    Rotate

    Enables rotate interaction on the annotation.

    Select

    Enables the user to select the annotation.

    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved