Change Theme Settings
Change Theme Settings
Themes
 
Show All Themes
v
...v

Forbidden Zones

This example demonstrates the forbidden zones feature, which allows you to control a panel's ability to selectively dock to specific zones.

Using a dock panel's ForbiddenZones property, you can specify prohibited zones for the panel - the zones to which the panel cannot be docked. It is also possible to provide different appearances for the allowed and forbidden zone states using the dock zone's Styles.DockingAllowedStyle and Styles.DockingForbiddenStyle properties, respectively. These appearances are used to highlight zones during panel dragging, and to indicate whether a particular zone allows or prohibits panel docking.

Collapse/Expand
Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
Open CS Solution
Open VB Solution
The source code files for this demo are installed (by default) in the following directories:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\ASPxDockAndPopupsDemos
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\VB\ASPxDockAndPopupsDemos