Skip to main content

Document.DockTo(StackGroup, Int32) Method

Places this Document at a specific position within the targeted stack group.

Namespace: DevExpress.XtraBars.Docking2010.Views.Widget

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public bool DockTo(
    StackGroup stackGroup,
    int insertIndex
)

Parameters

Name Type Description
stackGroup StackGroup

A StackGroup object that should host this Document.

insertIndex Int32

An Int32 value that is the document’s index inside its new parent stack group.

Returns

Type Description
Boolean

true if the document was successfully docked; otherwise, false.

See Also