Skip to main content

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

Declaration

public bool Remove(
    string zoneUID
)

Parameters

Name Type Description
zoneUID String

A string that is the zoneUID property value of zone to remove from the collection.

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.

See Also