All docs
V20.1
20.2 (EAP/Beta)
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

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

Applies the org chart layout algorithm.

Namespace: DevExpress.Xpf.Diagram

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

Declaration

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

Optional Parameters

Name Type Default Description
items IEnumerable<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