Skip to main content
A newer version of this page is available. .

DockPanelOptions.AllowDockFill Property

Gets or sets whether the dock panel can be docked to another dock panel.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v19.2.dll

Declaration

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

Property Value

Type Default Description
Boolean **true**

true if the panel can be docked to another dock panel; otherwise, false.

Property Paths

You can access this nested property as listed below:

Show 14 property paths
Library Object Type Path to AllowDockFill
WinForms Controls FieldListDockPanel
.Options.AllowDockFill
ReportExplorerDockPanel
.Options.AllowDockFill
DockPanel
.Options.AllowDockFill
PanAndZoomDockPanel
.Options.AllowDockFill
Reporting DesignDockPanel
.Options.AllowDockFill
ErrorListDockPanel
.Options.AllowDockFill
FieldListDockPanel
.Options.AllowDockFill
GroupAndSortDockPanel
.Options.AllowDockFill
PropertyGridDockPanel
.Options.AllowDockFill
ReportExplorerDockPanel
.Options.AllowDockFill
ReportGalleryDockPanel
.Options.AllowDockFill
ToolBoxDockPanel
.Options.AllowDockFill
TreeViewDesignDockPanel
.Options.AllowDockFill
TypedDesignDockPanel
.Options.AllowDockFill

Remarks

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:

  • to the center of any other panel;
  • to a horizontally docked panel’s top or bottm;
  • to a veritally docked panel’s left or right.

allowdockfill

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AllowDockFill property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also