Skip to main content
A newer version of this page is available. .

Direction Enum

Specifies the flow direction for diagram items when laying out shapes automatically.

Namespace: DevExpress.Diagram.Core

Assembly: DevExpress.Diagram.v18.1.Core.dll

Declaration

public enum Direction

Members

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.

Related API Members

The following properties accept/return Direction values:

Library Related API Members
Cross-Platform Class Library SugiyamaLayoutSettings.Direction
TreeLayoutSettings.Direction
WPF Controls DiagramOrgChartBehavior.LayoutDirection

Remarks

Values listed by this enumeration are used by the following methods: DiagramControl.ApplySugiyamaLayout, DiagramControl.ApplyTreeLayout, DiagramControl.ApplySugiyamaLayout, DiagramControl.ApplyTreeLayout.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Direction enum.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also