Skip to main content
Tab

TabCollection.Add(String, String) Method

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

public Tab Add(
    string text,
    string name
)

Parameters

Name Type Description
text String

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

name String

A String value specifying the name which indentifies the created item. Initializes the tab’s TabBase.Name 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 settings to the TabCollection object.

See Also