Skip to main content
Tab

ASPxDockPanel.ForbiddenZones Property

Provides access to the collection of zones disallowed for the current panel docking.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public ForbiddenZoneCollection ForbiddenZones { get; }

Property Value

Type Description
ForbiddenZoneCollection

A ForbiddenZoneCollection object that is a collection of zones.

Remarks

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