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

BootstrapTabCollection.Add(String, String, String) Method

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

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v18.2.dll

Declaration

public BootstrapTab Add(
    string text,
    string name,
    string iconCssClass
)

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.

iconCssClass String

A String value specifying the CSS class of the image displayed by the tab. Initializes the item’s BootstrapTab.TabIconCssClass property.

Returns

Type Description
BootstrapTab

A BootstrapTab object representing the newly created tab.

Remarks

Use the Add method to add a new tab with the specified settings to the BootstrapTabCollection object.

See Also