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


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


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.


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

See Also