Skip to main content

DocumentGroup.DockTo(DocumentGroup, Orientation, Int32) Method

Docks this DocumentGroup next to the target DocumentGroup using the desired position and orientation.

Namespace: DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public void DockTo(
    DocumentGroup targetGroup,
    Orientation orientation,
    int insertIndex
)

Parameters

Name Type Description
targetGroup DocumentGroup

A DocumentGroup next to which this DocumentGroup should be docked.

orientation Orientation

An Orientation enumerator value that specifies whether this DocumentGroup should be docked to the target DocumentGroup vertically or horizontally.

insertIndex Int32

An Int32 value that specifies the group order.

Remarks

Use the DockTo method to arrange DocumentGroups in code. See the Tabbed View topic to learn more.

See Also