IWidgetViewController.Dock(Document, Document, Orientation) Method
In This Article
Docks one widget document aside another document using the specific orientation setting.
Namespace: DevExpress.XtraBars.Docking2010.Views.Widget
Assembly: DevExpress.XtraBars.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
bool Dock(
Document sourceDocument,
Document targetDocument,
Orientation orientation
)
#Parameters
Name | Type | Description |
---|---|---|
source |
Document | A document that should be docked to another document. |
target |
Document | A document to which the first document should be docked. |
orientation | Orientation | An Orientation enumerator value that specifies whether these documents should be aligned horizontally or vertically. |
#Returns
Type | Description |
---|---|
Boolean | true if the document was successfully docked; otherwise, false. |
See Also