windowsforms-devexpress-dot-xtrabars-dot-docking-dot-dockpaneloptions-e75b1d3c.md
Gets or sets whether the dock panel can be docked to another dock panel.
Namespace : DevExpress.XtraBars.Docking
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool AllowDockFill { get; set; }
<DefaultValue(True)>
<XtraSerializableProperty>
Public Overridable Property AllowDockFill As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | true |
true if the panel can be docked to another dock panel; otherwise, false.
|
You can access this nested property as listed below:
| Object Type | Path to AllowDockFill |
|---|---|
| DockPanel |
.Options .AllowDockFill
|
This property determines whether a panel can be docked to another panel in any manner that would require an automatically created split container or tab container. I.e., when this property is false , users cannot dock this panel:
Use the DockPanel.Dock property to determine which edge of a dock control the current panel is docked to or if the panel is floated.
See Also