Skip to main content
Tab

DockPanelCollection.Contains(ASPxDockPanel) Method

Returns a value indicating whether the collection contains the specified panel.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

public bool Contains(
    ASPxDockPanel panel
)

Parameters

Name Type Description
panel ASPxDockPanel

An ASPxDockPanel object to locate in the collection.

Returns

Type Description
Boolean

true if the specified panel belongs to the collection; otherwise false.

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