Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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