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

DiagramControl.OrgChartLayoutIsCompact Property

Specifies whether the automatic org chart layout arranges shapes minimizing the space between them. This is a dependency property.

Namespace: DevExpress.Xpf.Diagram

Assembly: DevExpress.Xpf.Diagram.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Diagram, DevExpress.Wpf.Diagram


public bool OrgChartLayoutIsCompact { get; set; }

Property Value

Type Description

true, to enable the compact org chart layout; otherwise, false. By default, false.


If the OrgChartLayoutIsCompact property is set to false, the algorithm arranges shapes so that the gap between shapes of the same hierarchy level is increased based on the space that is taken by subtrees.

See Also