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

Creates a strongly-typed Check Box List control.

Namespace: DevExpress.AspNetCore

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

Declaration

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

Parameters

Type Name Description
BuilderFactory<TModel> builderFactory

A BuilderFactory object providing access to Check Box List settings.

System.Linq.Expressions.Expression<System.Func<TModel, TResult>> expression

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

Returns

Type Description
BootstrapCheckBoxListBuilder

A builder for a Check Box List control.

Type Parameters

Name Description
TModel

A model type.

TResult

A result type.