All docs
V20.2
20.2
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

DiagramAutoLayoutSettings.Orientation Property

Specifies the diagram layout orientation.

Namespace: DevExpress.Web.ASPxDiagram

Assembly: DevExpress.Web.ASPxDiagram.v20.2.dll

Declaration

[DefaultValue(Orientation.Vertical)]
public Orientation Orientation { get; set; }
<DefaultValue(Orientation.Vertical)>
Public Property Orientation As Orientation

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