Skip to main content

DiagramAutoLayoutSettings.Orientation Property

Specifies the diagram layout orientation.

Namespace: DevExpress.Web.ASPxDiagram

Assembly: DevExpress.Web.ASPxDiagram.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(Orientation.Vertical)]
public Orientation Orientation { get; set; }

Property Value

Type Default Description
Orientation Vertical

The orientation.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to Orientation
ASP.NET Web Forms Controls ASPxDiagram
.SettingsAutoLayout .Orientation
ASP.NET MVC Extensions DiagramSettings
.SettingsAutoLayout .Orientation

Remarks

<dx:ASPxDiagram ID="Diagram" runat="server" Width="100%" Height="600px" Units="Px"
    NodeDataSourceID="FlowNodeDemoDataSource" EdgeDataSourceID="FlowEdgeDemoDataSource" >
    <SettingsAutoLayout Type="Layered" Orientation="Vertical" />
    <Mappings>
        <Node Key="ID" Type="Type" Width="Width" Height="Height" />
        <Edge Key="ID" FromKey="FromID" ToKey="ToID" Text="Text" />
    </Mappings>
</dx:ASPxDiagram>

Run Demo: Node and Edge Data Sources

See Also