BootstrapTabCollection.Add(String, String, String, String, String) Method
Adds a new tab to the collection and specifies the tab’s display text, name, associated image and URL as well as the target of the URL content.
Namespace: DevExpress.Web.Bootstrap
Assembly: DevExpress.Web.Bootstrap.v24.2.dll
NuGet Package: DevExpress.Web.Bootstrap
#Declaration
public BootstrapTab Add(
string text,
string name,
string iconCssClass,
string navigateUrl,
string target
)
#Parameters
Name | Type | Description |
---|---|---|
text | String | A String value specifying the tab’s display text. Initializes the tab’s Tab |
name | String | A String value specifying the name which indentifies the created item. Initializes the tab’s Tab |
icon |
String | A String value specifying the CSS class of the image displayed by the tab. Initializes the item’s Bootstrap |
navigate |
String | A String value specifying the URL to which the browser navigates when the tab’s text or associated image is clicked. Initializes the tab’s Tab. |
target | String | A String value which identifies the window or frame at which to target URL content when the tab’s text or associated image is clicked. Initializes the tab’s Tab. |
#Returns
Type | Description |
---|---|
Bootstrap |
A Bootstrap |
#Remarks
Use the Add method to add a new tab with the specified settings to the BootstrapTabCollection object.