corelibraries-devexpress-dot-diagram-dot-core-dot-layout-d8f6ad87.md
Lists the values used to specify the layout direction when applying an automatic layout algorithm.
Namespace : DevExpress.Diagram.Core.Layout
Assembly : DevExpress.Diagram.v25.2.Core.dll
NuGet Package : DevExpress.Diagram.Core
public enum LayoutDirection
Public Enum LayoutDirection
| 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.
|
The following properties accept/return LayoutDirection values:
| Library | Related API Members |
|---|---|
| WinForms Controls | DiagramOptionsOrgChartLayout.Direction |
| DiagramOptionsSugiyamaLayout.Direction | |
| DiagramOptionsTreeLayout.Direction | |
| WPF Controls | DiagramControl.OrgChartLayoutDirection |
| DiagramControl.SugiyamaLayoutDirection | |
| DiagramControl.TreeLayoutDirection |
Values listed by this enumeration are used by the following methods and properties:
DiagramControl.ApplyTreeLayout
DiagramControl.ApplySugiyamaLayout
DiagramOptionsSugiyamaLayout.Direction
DiagramOptionsTreeLayout.Direction
DiagramControl.ApplyTreeLayout
DiagramControl.ApplySugiyamaLayout
DiagramControl.SugiyamaLayoutDirection
DiagramControl.TreeLayoutDirection
See Also