DiagramControl.ApplyOrgChartLayout(OrgChartLayoutSettings, IEnumerable<DiagramItem>, Nullable<SplitToConnectedComponentsMode>) Method
In This Article
Applies the org chart layout algorithm.
Namespace: DevExpress.Xpf.Diagram
Assembly: DevExpress.Xpf.Diagram.v24.2.dll
NuGet Package: DevExpress.Wpf.Diagram
#Declaration
public void ApplyOrgChartLayout(
OrgChartLayoutSettings settings,
IEnumerable<DiagramItem> items = null,
SplitToConnectedComponentsMode? splitMode = null
)
#Parameters
Name | Type | Description |
---|---|---|
settings | DevExpress. |
A DevExpress. |
#Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
items | IEnumerable<Diagram |
null | A collection of items to which to apply the algorithm. |
split |
Nullable<Split |
null | A Split |
#Remarks
The items collection should include connectors.
To learn more, see Automatic Layout.
See Also