menu

Blazor

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

    Show / Hide Table of Contents

    Class LayoutOrientation

    Specifies the orientation of the automatic layout.

    Inheritance
    System.Object
    LayoutOrientation
    Namespace: Syncfusion.Blazor.Diagram
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public sealed class LayoutOrientation : Enum
    Remarks

    Only the TopToBottom and LeftToRight orientations are applicable when the System.Type property is set to Flowchart.

    Examples
    <SfDiagramComponent >
        <DataSourceSettings ID = "Name" ParentID="Category" DataSource="DataSource"> </DataSourceSettings>
            <Layou @bind-Orientation="@orientation" >                
            </Layout>            
    </SfDiagramComponent>
    @code
    {
       LayoutOrientation orientation = LayoutOrientation.TopToBottom;

    Fields

    BottomToTop

    Renders the layout from bottom to top.

    Declaration
    public const LayoutOrientation BottomToTop
    Field Value
    Type
    LayoutOrientation
    Remarks

    BottomToTop orientation is not applicable when the System.Type property is set to Flowchart.

    LeftToRight

    Renders the layout from left to right.

    Declaration
    public const LayoutOrientation LeftToRight
    Field Value
    Type
    LayoutOrientation

    RightToLeft

    Renders the layout from right to left.

    Declaration
    public const LayoutOrientation RightToLeft
    Field Value
    Type
    LayoutOrientation
    Remarks

    RightToLeft orientation is not applicable when the System.Type property is set to Flowchart.

    TopToBottom

    Renders the layout from top to bottom.

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