Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DiagramControl.TreeLayoutDirection Property

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

Namespace: DevExpress.Xpf.Diagram

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

NuGet Package: DevExpress.Wpf.Diagram

#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