MVCxForbiddenZoneCollection.Remove(String) Method
Removes a zone with the specified zoneUID property value from the forbidden zone collection.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
zone |
String | A string that is the zone |
#Returns
Type | Description |
---|---|
Boolean | true if the specified item has been successfully removed from the collection; false if the specified item has not been found within the collection. |
#Remarks
The Remove method removes an item with the specified UID from the panel’s forbidden zone collection (the DockPanelSettings.ForbiddenZones property). To remove all items from the collection, use the StateManagedCollectionBase.Clear method. To add the specified item to the collection, use the MVCxForbiddenZoneCollection.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.