Back to Devexpress

DiagramControl.ApplyTipOverTreeLayout(TipOverTreeLayoutSettings, SplitToConnectedComponentsMode, IEnumerable<DiagramItem>) Method

windowsforms-devexpress-dot-xtradiagram-dot-diagramcontrol-dot-applytipovertreelayout-x28-tipovertreelayoutsettings-splittoconnectedcomponentsmode-ienumerable-diagramitem-x29.md

latest2.8 KB
Original Source

DiagramControl.ApplyTipOverTreeLayout(TipOverTreeLayoutSettings, SplitToConnectedComponentsMode, IEnumerable<DiagramItem>) Method

Applies the tip-over tree layout algorithm.

Namespace : DevExpress.XtraDiagram

Assembly : DevExpress.XtraDiagram.v25.2.dll

NuGet Package : DevExpress.Win.Diagram

Declaration

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

Parameters

NameTypeDescription
settingsTipOverTreeLayoutSettings

A TipOverTreeLayoutSettings object.

| | splitMode | SplitToConnectedComponentsMode |

A SplitToConnectedComponentsMode enumeration value specifying whether to apply the layout algorithm only to items that are connected to at least one other item.

|

Optional Parameters

NameTypeDefaultDescription
itemsIEnumerable<DiagramItem>null

A collection of items to which to apply the algorithm.

|

Remarks

The items collection should include connectors.

To learn more, see Automatic Layout.

See Also

DiagramControl Class

DiagramControl Members

DevExpress.XtraDiagram Namespace