windowsforms-devexpress-dot-xtrabars-dot-docking-dot-dockingoptions-b922e027.md
Gets or sets whether the panel is immediately docked while dragging over the tab region or the panel is docked when it is dropped.
Namespace : DevExpress.XtraBars.Docking
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(DockPanelInTabContainerTabRegion.DockImmediately)]
[XtraSerializableProperty]
public virtual DockPanelInTabContainerTabRegion DockPanelInTabContainerTabRegion { get; set; }
<DefaultValue(DockPanelInTabContainerTabRegion.DockImmediately)>
<XtraSerializableProperty>
Public Overridable Property DockPanelInTabContainerTabRegion As DockPanelInTabContainerTabRegion
| Type | Default | Description |
|---|---|---|
| DevExpress.XtraBars.Docking.Helpers.DockPanelInTabContainerTabRegion | DockImmediately |
The DockPanelInTabContainerTabRegion value that specifies whether the panel is immediately docked while dragging over the tab region or the panel is docked when it is dropped.
|
You can access this nested property as listed below:
| Object Type | Path to DockPanelInTabContainerTabRegion |
|---|---|
| DockManager |
.DockingOptions .DockPanelInTabContainerTabRegion
|
If the DockPanelInTabContainerTabRegion property is set to DockPanelInTabContainerTabRegion.DockImmediately , the dock panel is immediately docked into the tab container while dragging over the tab region. If the DockPanelInTabContainerTabRegion property is set to HighlightDockPosition , the required dock position is highlighted when the panel is dragged over the tab region and the panel is docked when it is dropped.
The following image shows the highlighted dock position when the panel is dragged over the tab region.
See Also