Tab
A newer version of this page is available. Switch to the current version.

TabCollection.Remove(Tab) Method

Removes a tab object from the tab collection.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

public void Remove(
    Tab tab
)
Public Sub Remove(
    tab As Tab
)

Parameters

Name Type Description
tab Tab

A Tab object specifying the tab to remove from the tab collection.

Remarks

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

This method performs a linear search and 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 tabs from the collection, use the Clear() method.

You can use the TabCollection.Add method to add a tab object to the tab collection. Use the TabCollection.Insert method to add a tab at a specific position within the collection.

See Also