Skip to main content
Tab

TabCollection.Add(String) Method

Adds a new tab to the collection and specifies the tab’s display text.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public Tab Add(
    string text
)

Parameters

Name Type Description
text String

A String value specifying the tab’s display text. Initializes the tab’s TabBase.Text property.

Returns

Type Description
Tab

A Tab object representing the newly created tab.

Remarks

Use the Add method to add a new tab with the specified text to the TabCollection object.

See Also