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

Forbidden Zones



This example demonstrates the forbidden zones feature allowing you to control a panel's ability to selectively dock to particular zones.

Using a dock panel's ForbiddenZones property, you can specify disallowed 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 by using a dock zone's Styles.DockingAllowedStyle and Styles.DockingForbiddenStyle properties. These appearances are used to highlight zones during panel dragging and to indicate whether a particular zone is allowed or disallowed for panel docking.