BuilderFactoryExtensions.BootstrapTextBox(BuilderFactory, String) Method
In This Article
Creates a Text Box control with a specified name.
Namespace: DevExpress.AspNetCore
Assembly: DevExpress.AspNetCore.Bootstrap.v18.2.dll
#Declaration
public static BootstrapTextBoxBuilder BootstrapTextBox(
this BuilderFactory builderFactory,
string name
)
#Parameters
Name | Type | Description |
---|---|---|
builder |
Builder |
A Builder |
name | String | A control name. |
#Returns
Type | Description |
---|---|
Bootstrap |
A builder for a Text Box control. |
#Remarks
IMPORTANT
Bootstrap Controls for ASP.
The code sample below demonstrates how you can use this method to create a Text Box control.
cshtml
Copy
@(Html.DevExpress()
.BootstrapTextBox("textBoxDefault")
.Value("Default Text")
)
See Also