Skip to main content

IDockController.Insert(LayoutGroup, BaseLayoutItem, Int32) Method

Inserts the specified item into the specified group at a specific position.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v24.1.dll

NuGet Package: DevExpress.Wpf.Docking

Declaration

bool Insert(
    LayoutGroup group,
    BaseLayoutItem item,
    int index
)

Parameters

Name Type Description
group LayoutGroup

A LayoutGroup into which the specified item is inserted.

item BaseLayoutItem

A BaseLayoutItem object to be inserted into the group.

index Int32

An integer value that specifies the position among the group’s children at which the item must be inserted.

Returns

Type Description
Boolean

true, if the item has been inserted into the group; otherwise, false.

See Also