Skip to main content
Tab

ForbiddenZoneCollection.Remove(ASPxDockZone) Method

Removes a zone object from the forbidden zone collection.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

public bool Remove(
    ASPxDockZone item
)

Parameters

Name Type Description
item ASPxDockZone

An ASPxDockZone object, specifying the item to remove from the forbidden zone 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 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.

Implements

See Also