Skip to main content

Alignment Enum

Lists the values used to specify how the tree layout algorithm arranges shapes relatively to the layout axis.

Namespace: DevExpress.Diagram.Core

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

NuGet Package: DevExpress.Diagram.Core

#Declaration

public enum Alignment

#Members

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.

#Remarks

The layout axis is specified using the values of the Direction enumeration.

Values listed by this enumeration are used to set the following properties:

See Also