Document.DockTo(Document, Orientation, Boolean) Method

Docks this Document to either side of another Document. Additionally specifies which of these two documents should go first.

Namespace: DevExpress.XtraBars.Docking2010.Views.Widget

Assembly: DevExpress.XtraBars.v20.2.dll


public bool DockTo(
    Document document,
    Orientation orientation,
    bool after
Public Function DockTo(
    document As Document,
    orientation As Orientation,
    after As Boolean
) As Boolean


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.

after Boolean

true, to place this Document after the targeted document; otherwise, false.


Type Description

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


See the Free Layout Mode topic to learn more.

See Also