Skip to main content

BuilderFactoryExtensions.BootstrapTextBox(BuilderFactory) Method

Creates a Text Box control.

Namespace: DevExpress.AspNetCore

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

Declaration

public static BootstrapTextBoxBuilder BootstrapTextBox(
    this BuilderFactory builderFactory
)

Parameters

Name Type Description
builderFactory BuilderFactory

A BuilderFactory object providing access to Text Box settings.

Returns

Type Description
BootstrapTextBoxBuilder

A builder for a Text Box control.

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 Text Box control.

Copy
@(Html.DevExpress()
    .BootstrapTextBox()
    .Value("Default Text")
)
See Also