Skip to main content

IWidgetViewController.Dock(Document, StackGroup, Int32) Method

Places the document at a specific position inside the targeted stack group.

Namespace: DevExpress.XtraBars.Docking2010.Views.Widget

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

bool Dock(
    Document document,
    StackGroup group,
    int insertIndex
)

Parameters

Name Type Description
document Document

The Document that should be placed to a stack group.

group StackGroup

The StackGroup that should contain the document.

insertIndex Int32

An Int32 value that is the index of a document inside its new parent StackGroup.

Returns

Type Description
Boolean

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

See Also