Document.DockTo(Document, Orientation, Int32) Method
In This Article
Docks this widget to another widget using the given orientation setting.
Namespace: DevExpress.XtraBars.Docking2010.Views.Widget
Assembly: DevExpress.XtraBars.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
public bool DockTo(
Document document,
Orientation orientation,
int index
)
#Parameters
Name | Type | Description |
---|---|---|
document | Document | A Document that is the widget next to which this widget should be docked. |
orientation | Orientation | An Orientation enumeration value that specifies whether these two widgets should align vertically or horizontally. |
index | Int32 | An Int32 value that specifies the docked widget’s position. |
#Returns
Type | Description |
---|---|
Boolean | true if the widget was successfully docked; otherwise, false. |
See Also