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.v20.1.dll

Declaration

public void DockTo(
    DocumentGroup targetGroup,
    Orientation orientation,
    int insertIndex
)
Public Sub DockTo(
    targetGroup As DocumentGroup,
    orientation As Orientation,
    insertIndex As Integer
)

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