Skip to main content
All docs
V25.1
  • DevExpress v25.1 Update — Your Feedback Matters

    Our What's New in v25.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

    Take the survey Not interested

    DiagramControl.OrgChartLayoutTreeLevelCount Property

    Specifies the number of levels of hierarchy in the org chart layout’s tree section. This is a dependency property.

    Namespace: DevExpress.Xpf.Diagram

    Assembly: DevExpress.Xpf.Diagram.v25.1.dll

    NuGet Package: DevExpress.Wpf.Diagram

    #Declaration

    public int OrgChartLayoutTreeLevelCount { get; set; }

    #Property Value

    Type Description
    Int32

    The number of hierarchy layers in the org chart layout’s tree section.

    #Remarks

    Shapes in the upper levels of hierarchy in the org chart layout are arranged using the tree graph algorithm. The OrgChartLayoutTreeLevelCount property specifies the number of layers in the tree section. The lower levels of hierarchy are arranged using the tip-over tree layout algorithm.

    See Also