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

Creates a strongly-typed Radio Button List control.

Namespace: DevExpress.AspNetCore

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

Syntax

public static BootstrapRadioButtonListBuilder BootstrapRadioButtonListFor<TModel, TResult>(this BuilderFactory<TModel> builderFactory, Expression<Func<TModel, TResult>> expression)

Parameters

Type Name Description
BuilderFactory<TModel> builderFactory

A BuilderFactory object providing access to Radio Button 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
BootstrapRadioButtonListBuilder

A builder for a Radio Button List control.

Type Parameters

Name Description
TModel

A model type.

TResult

A result type.