Class LayoutOrientation
Specifies the orientation of the automatic layout.
Inheritance
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 and MindMap.
Horizontal
Renders only the MindMap from left to right
Declaration
public const LayoutOrientation Horizontal
Field Value
Type |
---|
LayoutOrientation |
Remarks
Horizontal 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 |
Remarks
LeftToRight orientation is not applicable when the System.Type property is set to MindMap.
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 and MindMap.
TopToBottom
Renders the layout from top to bottom.
Declaration
public const LayoutOrientation TopToBottom
Field Value
Type |
---|
LayoutOrientation |
Remarks
TopToBottom orientation is not applicable when the System.Type property is set to MindMap.
Vertical
Renders only the MindMap from top to bottom
Declaration
public const LayoutOrientation Vertical
Field Value
Type |
---|
LayoutOrientation |