alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Enum HorizontalAlignment

    Represents the alignment of the diagram elements based on its immediate parent.

    Namespace: Syncfusion.Blazor.Diagram
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public enum HorizontalAlignment
    Examples
    Node Node = new Node()
    {
        Ports = new DiagramObjectCollection<PointPort>()
        {
            new PointPort()
            {
                HorizontalAlignment = HorizontalAlignment.Left
            }
        },
    };

    Fields

    Name Description
    Auto

    Aligns the diagram element based on its immediate parent’s horizontal alignment property.

    Center

    Align the diagram element horizontally to the center of its immediate parent.

    Left

    Align the diagram element horizontally to the left side of its immediate parent.

    Right

    Align the diagram element horizontally to the right side of its immediate parent.

    Stretch

    Stretch the diagram element horizontally to its immediate parent.

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