Skip to main content

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.v24.1.Core.dll

NuGet Package: DevExpress.Diagram.Core

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