ForbiddenZoneCollection Class
A collection of zones disallowed from collection owner panel docking.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
public class ForbiddenZoneCollection :
Collection<ForbiddenZoneItem>,
ICollection<ASPxDockZone>,
IEnumerable<ASPxDockZone>,
IEnumerable
Related API Members
The following members return ForbiddenZoneCollection objects:
Remarks
Each ASPxDockPanel control allows you to specify zones where the particular panel cannot be docked. Within ASPxDockPanel control, the zones are denoted by ForbiddenZoneItem objects, held within a collection, which is an instance of the ForbiddenZoneCollection class, and can be accessed via the ASPxDockPanel.ForbiddenZones property. The properties and methods exposed by the ForbiddenZoneCollection class can be used to perform collection operations, such as adding new or deleting the existing items. Individual zone item can be accessed using indexer notation.