BuilderFactoryExtensions.BootstrapTabControl(BuilderFactory, String) Method
In This Article
Creates a Tab Control layout with a specified name.
Namespace: DevExpress.AspNetCore
Assembly: DevExpress.AspNetCore.Bootstrap.v18.2.dll
#Declaration
public static BootstrapTabControlBuilder BootstrapTabControl(
this BuilderFactory builderFactory,
string name
)
#Parameters
Name | Type | Description |
---|---|---|
builder |
Builder |
A Builder |
name | String | A control name. |
#Returns
Type | Description |
---|---|
Bootstrap |
A builder for a Tab Control layout. |
#Remarks
IMPORTANT
Bootstrap Controls for ASP.
The code sample below demonstrates how you can use this method to create a Tab Control layout.
cshtml
@(Html.DevExpress()
.BootstrapTabControl("tabControlDefault")
.Tabs(tabs=> {
tabs.Add().Text("Home");
tabs.Add().Text("Products");
tabs.Add().Text("Support");
}))
See Also