Skip to main content

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

Creates a strongly-typed List Box control.

Namespace: DevExpress.AspNetCore

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

Declaration

public static BootstrapListBoxBuilder BootstrapListBoxFor<TModel, TResult>(
    this BuilderFactory<TModel> builderFactory,
    Expression<Func<TModel, TResult>> expression
)

Parameters

Name Type Description
builderFactory BuilderFactory<TModel>

A BuilderFactory object providing access to List Box settings.

expression Expression<Func<TModel, TResult>>

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

Type Parameters

Name Description
TModel

A model type.

TResult

A result type.

Returns

Type Description
BootstrapListBoxBuilder

A builder for a List 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.

See Also