corelibraries-devexpress-dot-diagram-dot-core-201c30f3.md
Specifies the flow direction for diagram items when laying out shapes automatically.
Namespace : DevExpress.Diagram.Core
Assembly : DevExpress.Diagram.v25.2.Core.dll
NuGet Package : DevExpress.Diagram.Core
public enum Direction
Public Enum Direction
| Name | Description |
|---|---|
Left |
The flow direction is right to left.
|
| Up |
The flow direction is bottom to top.
|
| Right |
The flow direction is left to right.
|
| Down |
The flow direction is top to bottom.
|
The following properties accept/return Direction values:
| Library | Related API Members |
|---|---|
| Cross-Platform Class Library | SugiyamaLayoutSettings.Direction |
| TreeLayoutSettings.Direction | |
| WPF Controls | DiagramOrgChartBehavior.LayoutDirection |
Values listed by this enumeration are used by the following methods: DiagramControl.ApplySugiyamaLayout, DiagramControl.ApplyTreeLayout, DiagramControl.ApplySugiyamaLayout, DiagramControl.ApplyTreeLayout.
See Also