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.v25.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
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