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

BuilderFactoryExtensions.BootstrapTextBoxFor<TModel, TResult>(BuilderFactory<TModel>, Expression<Func<TModel, TResult>>) Method

Creates a strongly-typed Text Box control.

Namespace: DevExpress.AspNetCore

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

Declaration

public static BootstrapTextBoxBuilder BootstrapTextBoxFor<TModel, TResult>(
    this BuilderFactory<TModel> builderFactory,
    Expression<Func<TModel, TResult>> expression
)
<ExtensionAttribute>
Public Shared Function BootstrapTextBoxFor(Of TModel, TResult)(
    builderFactory As BuilderFactory(Of TModel),
    expression As Expression(Of Func(Of TModel, TResult))
) As BootstrapTextBoxBuilder

Parameters

Name Type Description
builderFactory BuilderFactory<TModel>

A BuilderFactory object providing access to Text Box settings.

expression Expression<Func<TModel, TResult>>

An expression that identifies the object that contains the properties to display.

Returns

Type Description
BootstrapTextBoxBuilder

A builder for a Text Box control.

Type Parameters

Name Description
TModel

A model type.

TResult

A result type.

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.

See Also