DiagramAutoLayoutSettings.Orientation Property
In This Article
Specifies the diagram layout orientation.
Namespace: DevExpress.Web.ASPxDiagram
Assembly: DevExpress.Web.ASPxDiagram.v24.2.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. |
Diagram |
|
ASP. |
ASPx |
|
#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>
See Also