Skip to main content

MVCxPopupWindowCollection.Remove(MVCxPopupWindow) Method

Removes a popup window object from the collection.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public void Remove(
    MVCxPopupWindow window
)

Parameters

Name Type Description
window MVCxPopupWindow

A MVCxPopupWindow object specifying the popup window to remove from the collection.

Remarks

Use the Remove method to remove the popup window specified by the window parameter from the current collection.

This method performs a linear search, so the average execution time is proportional to Count. Elements that follow the removed element move up to occupy the vacated area. The indexes of the moved elements are updated.

If you want to remove all popup windows from the collection, use the Clear() method.

You can use an appropriate PopupWindowCollection.Add method to add a popup window object to the tab page collection. Use the MVCxPopupWindowCollection.Insert method to add a popup window at a specific position within the collection.

See Also