Skip to main content
A newer version of this page is available. .

DiagramControl.TreeLayoutDirection Property

Gets or sets the layout direction. This is a dependency property.

Namespace: DevExpress.Xpf.Diagram

Assembly: DevExpress.Xpf.Diagram.v19.2.dll

Declaration

public LayoutDirection TreeLayoutDirection { get; set; }

Property Value

Type Description
LayoutDirection

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.

Remarks

The DiagramControl.TreeLayoutAlignment property specifies how the tree layout algorithm arranges shapes relatively to the layout axis. The layout axis is specified using the TreeLayoutDirection property.

See Also