Skip to main content

DockPanelOptions.AllowDockAsTabbedDocument Property

Gets or sets whether the current DockPanel can be docked as a tab within a Tabbed View, created using the DocumentManager component.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v24.2.dll

Declaration

[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool AllowDockAsTabbedDocument { get; set; }

Property Value

Type Default Description
Boolean true

true if the current DockPanel can be docked as a tab in a Tabbed View; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to AllowDockAsTabbedDocument
DockPanel
.Options .AllowDockAsTabbedDocument

Remarks

The DockManager can be used together with the DocumentManager component. The DocumentManager allows you to present documents in a number of ways. One of the document presentation styles is a Tabbed UI, which can be enabled by assigning a TabbedView object to the DocumentManager.View property. In this mode, dock panels gain additional features, such as the ability to be docked as tabs.

The AllowDockAsTabbedDocument property, accessible via the panel’s DockPanel.Options object, specifies if such a behavior is enabled for the current DockPanel. Tabbed Documents, in turn, can be not docked to DockPanels. See the Interaction with Dock Panels topic to learn more.

See Also