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

TreeLayoutSettings.Alignment Property

Returns the value that specifies how the tree layout algorithm arranges shapes relatively to the layout axis.

Namespace: DevExpress.Diagram.Core.Layout

Assembly: DevExpress.Diagram.v18.2.Core.dll

Declaration

public Alignment Alignment { get; }

Property Value

Type Description
Alignment

An Alignment enumeration value.

Available values:

Name Description
Near

In a left-to-right layout, items are aligned to the left from the layout axis. In a right-to-left layout, items are aligned to the right.

Center

Items are aligned along the layout axis.

Far

In a left-to-right layout, items are aligned to the right from the layout axis. In a right-to-left layout, items are aligned to the left.

See Also