Skip to main content

DiagramControl.ApplyTreeLayoutForSubordinates(IEnumerable<DiagramItem>, TreeLayoutSettings) Method

Applies the Tree layout to the subordinates of the specified diagram items.

Namespace: DevExpress.Xpf.Diagram

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

NuGet Package: DevExpress.Wpf.Diagram


public void ApplyTreeLayoutForSubordinates(
    IEnumerable<DiagramItem> items,
    TreeLayoutSettings settings


Name Type Description
items IEnumerable<DiagramItem>

A collection of diagram items whose subordinates will be repositioned.

settings TreeLayoutSettings

An object that contains the Tree layout settings.


Use the ApplyTreeLayoutForSubordinates method to reposition subordinates of diagram items. The items specified by the items parameter will maintain their positions.

See Also