Skip to main content

DockPanelSettings.ForbiddenZones Property

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

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public MVCxForbiddenZoneCollection ForbiddenZones { get; }

Property Value

Type Description
MVCxForbiddenZoneCollection

An MVCxForbiddenZoneCollection 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