aspnet-devexpress-dot-web-dot-aspxdockpanel-0cc894dc.md
Provides access to the collection of zones disallowed for the current panel docking.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
public ForbiddenZoneCollection ForbiddenZones { get; }
Public ReadOnly Property ForbiddenZones As ForbiddenZoneCollection
| Type | Description |
|---|---|
| ForbiddenZoneCollection |
A ForbiddenZoneCollection object that is a collection of zones.
|
The ForbiddenZones property allows you to specify zones where the particular panel cannot be docked. Use the ForbiddenZones property to access the collection of the current panel’s disallowed zones.
When you drag a panel, zones can be highlighted to show which of them are allowed or disallowed for docking. Use the DockZoneStyles.DockingAllowedStyle and DockZoneStyles.DockingForbiddenStyle properties to specify a zone’s appearance settings.
See Also