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.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).

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