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:
Library | Object Type | Path to AllowDockFill |
---|---|---|
WinForms Controls | FieldListDockPanel |
|
ReportExplorerDockPanel |
|
|
DockPanel |
|
|
PanAndZoomDockPanel |
|
|
Reporting | DesignDockPanel |
|
ErrorListDockPanel |
|
|
FieldListDockPanel |
|
|
GroupAndSortDockPanel |
|
|
PropertyGridDockPanel |
|
|
ReportExplorerDockPanel |
|
|
ReportGalleryDockPanel |
|
|
ToolBoxDockPanel |
|
|
TreeViewDesignDockPanel |
|
|
TypedDesignDockPanel |
|
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.
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.
Related GitHub Examples
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.