Back to Devexpress

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

wpf-devexpress-dot-xpf-dot-diagram-dot-diagramcontrol-dot-applytreelayoutforsubordinates-x28-ienumerable-diagramitem-treelayoutsettings-x29.md

latest2.0 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Diagram

Declaration

csharp
public void ApplyTreeLayoutForSubordinates(
    IEnumerable<DiagramItem> items,
    TreeLayoutSettings settings
)
vb
Public Sub ApplyTreeLayoutForSubordinates(
    items As IEnumerable(Of DiagramItem),
    settings As TreeLayoutSettings
)

Parameters

NameTypeDescription
itemsIEnumerable<DiagramItem>

A collection of diagram items whose subordinates will be repositioned.

| | settings | TreeLayoutSettings |

An object that contains the Tree layout settings.

|

Remarks

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

See Also

DiagramControl Class

DiagramControl Members

DevExpress.Xpf.Diagram Namespace