DockPanelCollection.Contains(ASPxDockPanel) Method
In This Article
Returns a value indicating whether the collection contains the specified panel.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public bool Contains(
ASPxDockPanel panel
)
#Parameters
Name | Type | Description |
---|---|---|
panel | ASPx |
An ASPx |
#Returns
Type | Description |
---|---|
Boolean |
|
#Remarks
The Contains method is used to determine whether the panel is contained within the zone’s panel collection (accessed via the ASPxDockZone.Panels property).
To obtain the specified panel from the collection, use the DockPanelCollection.FindByUID method.
Use the DockPanelCollection.Add or DockPanelCollection.Remove methods to add or remove a panel from a collection, respectively.
#Implements
See Also