corelibraries-devexpress-dot-diagram-dot-core-ef86ec43.md
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.v25.2.Core.dll
NuGet Package : DevExpress.Diagram.Core
public enum Alignment
Public Enum Alignment
| 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.
|
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