Skip to main content
A newer version of this page is available. .

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

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