Back to Devexpress

DiagramControl.OrgChartLayoutIsCompact Property

wpf-devexpress-dot-xpf-dot-diagram-dot-diagramcontrol-1c23b199.md

latest1.6 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Diagram

Declaration

csharp
public bool OrgChartLayoutIsCompact { get; set; }
vb
Public Property OrgChartLayoutIsCompact As Boolean

Property Value

TypeDescription
Boolean

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

|

Remarks

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.

OrgChartLayoutIsCompact = true

OrgChartLayoutIsCompact = false

See Also

DiagramControl Class

DiagramControl Members

DevExpress.Xpf.Diagram Namespace