Skip to main content

DiagramOptionsTreeLayout.Direction Property

Specifies the tree layout direction.

Namespace: DevExpress.XtraDiagram.Options

Assembly: DevExpress.XtraDiagram.v24.1.dll

NuGet Package: DevExpress.Win.Diagram

Declaration

[DefaultValue(LayoutDirection.TopToBottom)]
[DiagramCategory(DiagramCategory.Layout)]
public virtual LayoutDirection Direction { get; set; }

Property Value

Type Default Description
LayoutDirection TopToBottom

A LayoutDirection enumeration value.

Available values:

Name Description
TopToBottom

The layout direction is top-to-bottom.

BottomToTop

The layout direction is bottom-to-top.

LeftToRight

The layout direction is left-to-right.

RightToLeft

The layout direction is right-to-left.

Property Paths

You can access this nested property as listed below:

Object Type Path to Direction
DiagramControl
.OptionsTreeLayout .Direction

Remarks

The DiagramOptionsTreeLayout.Alignment property specifies how the tree layout algorithm arranges shapes relatively to the layout axis. The layout axis is specified using the Direction property.

See Also