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

Document.DockTo(Document, Orientation) Method

Docks this Document to either side of another Document.

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
)

#Parameters

Name Type Description
document Document

A Document to which this Document should be docked.

orientation Orientation

An Orientation enumerator value that specifies whether documents should be aligned horizontally or vertically.

#Returns

Type Description
Boolean

true if the document was successfully docked; otherwise, false.

#Remarks

See the Free Layout Mode topic to learn more.

See Also