IWidgetViewController.Dock(Document, StackGroup, Int32) Method
In This Article
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 | Stack |
The Stack |
insert |
Int32 | An Int32 value that is the index of a document inside its new parent Stack |
#Returns
Type | Description |
---|---|
Boolean | true if the document was successfully docked; otherwise, false. |
See Also