Skip to main content

BuilderFactoryExtensions.BootstrapPageControl(BuilderFactory) Method

Creates a Page Control layout.

Namespace: DevExpress.AspNetCore

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

Declaration

public static BootstrapPageControlBuilder BootstrapPageControl(
    this BuilderFactory builderFactory
)

Parameters

Name Type Description
builderFactory BuilderFactory

A BuilderFactory object providing access to Page Control settings.

Returns

Type Description
BootstrapPageControlBuilder

A builder for a Page 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 Page Control layout.

@(Html.DevExpress()
    .BootstrapPageControl()
    .TabPages(pages => {
        pages.Add()
            .Text("Home")
            .Content(@<text>

            </text>);
        pages.Add()
            .Text("Products")
            .Content(@<text>

            </text>);
        pages.Add()
            .Text("Support")
            .Content(@<text>

            </text>);
    }))
See Also