menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class AnnotationAlignment - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class AnnotationAlignment

    It specifies the alignment of the diagram elements based on its immediate parent.

    Inheritance
    System.Object
    AnnotationAlignment
    Namespace: Syncfusion.Blazor.Diagram
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public sealed class AnnotationAlignment : Enum
    Examples
    Connector connector = new Connector()
    {
        // Initialize annotation collection
        Annotations = new DiagramObjectCollection<PathAnnotation>() 
        { 
            new PathAnnotation 
            { 
                Alignment = AnnotationAlignment.After,
            }
        },
    };

    Fields

    After

    Annotation placed at the bottom of the connector segment.

    Declaration
    public const AnnotationAlignment After
    Field Value
    Type
    AnnotationAlignment

    Before

    Annotation placed on top of the connector segment.

    Declaration
    public const AnnotationAlignment Before
    Field Value
    Type
    AnnotationAlignment

    Center

    Annotation placed on the connector segment.

    Declaration
    public const AnnotationAlignment Center
    Field Value
    Type
    AnnotationAlignment
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved