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

Declaration

public bool DockTo(
    StackGroup stackGroup,
    int insertIndex
)
Public Function DockTo(
    stackGroup As StackGroup,
    insertIndex As Integer
) As Boolean

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