BuilderFactoryExtensions.BootstrapTabControl(BuilderFactory) Method

Creates a Tab Control layout.

Namespace: DevExpress.AspNetCore

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

Syntax

public static BootstrapTabControlBuilder BootstrapTabControl(this BuilderFactory builderFactory)

Parameters

Type Name Description
BuilderFactory builderFactory

A BuilderFactory object providing access to Tab Control settings.

Returns

Type Description
BootstrapTabControlBuilder

A builder for a Tab Control layout.

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");
    }))