Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class LayoutOrientation

    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
    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 Description
    LayoutOrientation

    LeftToRight

    Renders the layout from left to right.

    Declaration
    public const LayoutOrientation LeftToRight
    Field Value
    Type Description
    LayoutOrientation

    RightToLeft

    Renders the layout from right to left.

    Declaration
    public const LayoutOrientation RightToLeft
    Field Value
    Type Description
    LayoutOrientation

    TopToBottom

    Renders the layout from top to bottom.

    Declaration
    public const LayoutOrientation TopToBottom
    Field Value
    Type Description
    LayoutOrientation

    value__

    Declaration
    public int value__
    Field Value
    Type Description
    System.Int32
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved