Back to Devexpress

DocumentGroup.DockTo(DocumentGroup, Orientation, Boolean) Method

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-tabbed-dot-documentgroup-dot-dockto-x28-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-tabbed-dot-documentgroup-system-dot-windows-dot-forms-dot-orientation-system-dot-boolean-x29.md

latest2.7 KB
Original Source

DocumentGroup.DockTo(DocumentGroup, Orientation, Boolean) Method

Docks this DocumentGroup to the target DocumentGroup using the required orientation and order.

Namespace : DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public void DockTo(
    DocumentGroup targetGroup,
    Orientation orientation,
    bool afterGroup
)
vb
Public Sub DockTo(
    targetGroup As DocumentGroup,
    orientation As Orientation,
    afterGroup As Boolean
)

Parameters

NameTypeDescription
targetGroupDocumentGroup

A DocumentGroup to which this DocumentGroup has to be docked.

| | orientation | Orientation |

An Orientation enumerator value that specifies whether the affected groups should be arranged vertically or horizontally.

| | afterGroup | Boolean |

true if this DocumentGroup should be placed after (below for the vertical orientation) the target group; otherwise, false.

|

Remarks

The DockTo method supports the Free Layout Mode for the Tabbed View.

See Also

DocumentGroup Class

DocumentGroup Members

DevExpress.XtraBars.Docking2010.Views.Tabbed Namespace