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

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