Skip to main content

DiagramAutoLayoutSettings.Orientation Property

Specifies the diagram layout orientation.

Namespace: DevExpress.Web.ASPxDiagram

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

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 MVC Extensions DiagramSettings
.SettingsAutoLayout.Orientation
MVCxDiagram
.SettingsAutoLayout.Orientation
ASP.NET Web Forms Controls ASPxDiagram
.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