The requested page is not available for the requested platform. You are viewing the content for Default platform.

BuilderFactoryExtensions.BootstrapTabControl(BuilderFactory) Method

Creates a Tab Control layout.

Namespace: DevExpress.AspNetCore

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

Declaration

public static BootstrapTabControlBuilder BootstrapTabControl(
    this BuilderFactory builderFactory
)
<ExtensionAttribute>
Public Shared Function BootstrapTabControl(
    builderFactory As BuilderFactory
) As BootstrapTabControlBuilder

Parameters

Name Type Description
builderFactory BuilderFactory

A BuilderFactory object providing access to Tab Control settings.

Returns

Type Description
BootstrapTabControlBuilder

A builder for a Tab Control layout.

Remarks

Important

Bootstrap Controls for ASP.NET Core are in maintenance mode. We don’t add new controls or develop new functionality for this product line. Our recommendation is to use the ASP.NET Core Controls suite.

The code sample below demonstrates how you can use this method to create a Tab Control layout.

@(Html.DevExpress()
    .BootstrapTabControl()
    .Tabs(tabs=> {
        tabs.Add().Text("Home");
        tabs.Add().Text("Products");
        tabs.Add().Text("Support");
    }))
See Also