Skip to main content
All docs
V25.1
  • DiagramOptionsOrgChartLayout.Direction Property

    Specifies the direction of the org chart layout’s tree section.

    Namespace: DevExpress.XtraDiagram.Options

    Assembly: DevExpress.XtraDiagram.v25.1.dll

    NuGet Package: DevExpress.Win.Diagram

    Declaration

    [DefaultValue(LayoutDirection.TopToBottom)]
    [DiagramCategory(DiagramCategory.Layout)]
    public virtual LayoutDirection Direction { get; set; }

    Property Value

    Type Default Description
    LayoutDirection TopToBottom

    A DevExpress.Diagram.Core.Layout.LayoutDirection enumeration value.

    Available values:

    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.

    Property Paths

    You can access this nested property as listed below:

    Object Type Path to Direction
    DiagramControl
    .OptionsOrgChartLayout .Direction

    Remarks

    The TipOverDirection property specifies the direction of the org chart layout’s tip-over section.

    See Also