Skip to main content
A newer version of this page is available. .
Tab

DockPanelCollection.Remove(ASPxDockPanel) Method

Removes the specified panel from the collection.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

public bool Remove(
    ASPxDockPanel panel
)

Parameters

Name Type Description
panel ASPxDockPanel

An ASPxDockPanel object to remove from the collection.

Returns

Type Description
Boolean

true if the specified panel 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 panel from the zone’s panel collection (accessed via the ASPxDockZone.Panels property). To remove all items from the collection, use the DockPanelCollection.Clear method. To add the specified panel to the collection, use the DockPanelCollection.Add method.

Implements

See Also