ForbiddenZoneCollection.Remove(ASPxDockZone) Method
Removes a zone object from the forbidden zone collection.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Parameters
Name | Type | Description |
---|---|---|
item | ASPxDockZone | An ASPxDockZone object, specifying the item to remove from the forbidden zone collection. |
Returns
Type | Description |
---|---|
Boolean |
|
Remarks
The Remove method removes the specified item from the panel’s forbidden zone collection (the ASPxDockPanel.ForbiddenZones property). To remove all items from the collection, use the StateManagedCollectionBase.Clear method. To add the specified item to the collection, use the ForbiddenZoneCollection.Add or Collection<T>.Insert method.
Note
If a zone, which you remove from the panel’s forbidden zone collection, owns the panel, it is automatically docked.