Skip to main content

BootstrapTabPageCollection.Add(String, String, String) Method

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

Namespace: DevExpress.Web.Bootstrap

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

NuGet Package: DevExpress.Web.Bootstrap

Declaration

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

Parameters

Name Type Description
text String

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

name String

A String value specifying the name which indentifies the created item. Initializes the tab page’s TabBase.Name property.

iconCssClass String

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

Returns

Type Description
BootstrapTabPage

A BootstrapTabPage object representing the newly created tab page.

See Also