BuilderFactoryExtensions.BootstrapTabControl(BuilderFactory) Method
In This Article
Creates a Tab Control layout.
Namespace: DevExpress.AspNetCore
Assembly: DevExpress.AspNetCore.Bootstrap.v18.2.dll
#Declaration
public static BootstrapTabControlBuilder BootstrapTabControl(
this BuilderFactory builderFactory
)
#Parameters
Name | Type | Description |
---|---|---|
builder |
Builder |
A Builder |
#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()
.Tabs(tabs=> {
tabs.Add().Text("Home");
tabs.Add().Text("Products");
tabs.Add().Text("Support");
}))
See Also