ForbiddenZoneCollection.Contains(ASPxDockZone) Method
Returns a value indicating whether the collection contains the specified zone.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
item | ASPxDockZone | An ASPxDockZone object to locate in the collection. |
Returns
Type | Description |
---|---|
Boolean |
|
Remarks
The Contains method is used to determine whether the zone is contained within the panel’s forbidden zone collection (the ASPxDockPanel.ForbiddenZones property).
To obtain the specified item from the collection, use the Collection<T>.Find method or the Collection<T>.Item property.
Use the ForbiddenZoneCollection.Add or Collection<T>.Insert methods to add a new item to the collection.
To remove the particular item from the collection, use the ForbiddenZoneCollection.Remove method or use the StateManagedCollectionBase.Clear method, to remove all items from the collection.