Back to Devexpress

DiagramControl.ApplyOrgChartLayout(IEnumerable<DiagramItem>, Nullable<SplitToConnectedComponentsMode>) Method

wpf-devexpress-dot-xpf-dot-diagram-dot-diagramcontrol-dot-applyorgchartlayout-x28-ienumerable-diagramitem-nullable-splittoconnectedcomponentsmode-x29.md

latest2.1 KB
Original Source

DiagramControl.ApplyOrgChartLayout(IEnumerable<DiagramItem>, Nullable<SplitToConnectedComponentsMode>) Method

Applies the org chart layout algorithm.

Namespace : DevExpress.Xpf.Diagram

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

NuGet Package : DevExpress.Wpf.Diagram

Declaration

csharp
public void ApplyOrgChartLayout(
    IEnumerable<DiagramItem> items = null,
    SplitToConnectedComponentsMode? splitMode = null
)
vb
Public Sub ApplyOrgChartLayout(
    items As IEnumerable(Of DiagramItem) = Nothing,
    splitMode As SplitToConnectedComponentsMode? = Nothing
)

Optional Parameters

NameTypeDefaultDescription
itemsIEnumerable<DiagramItem>null

A collection of items to which to apply the algorithm.

| | splitMode | Nullable<SplitToConnectedComponentsMode> | null | |

Remarks

The items collection should include connectors.

To learn more, see Automatic Layout.

See Also

DiagramControl Class

DiagramControl Members

DevExpress.Xpf.Diagram Namespace