ExtensionsFactory<ModelType>.CheckBoxListFor<ValueType>(Expression<Func<ModelType, ValueType>>, Action<CheckBoxListSettings>) Method

Creates a CheckBoxList.

Namespace: DevExpress.Web.Mvc.UI

Assembly: DevExpress.Web.Mvc5.v20.1.dll

Declaration

public CheckBoxListExtension CheckBoxListFor<ValueType>(
    Expression<Func<ModelType, ValueType>> expression,
    Action<CheckBoxListSettings> method
)
Public Function CheckBoxListFor(Of ValueType)(
    expression As Expression(Of Func(Of ModelType, ValueType)),
    method As Action(Of CheckBoxListSettings)
) As CheckBoxListExtension

Parameters

Name Type Description
expression Expression<Func<ModelType, ValueType>>

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

method Action<CheckBoxListSettings>

A delegate method that accepts CheckBoxListSettings as a parameter.

Type Parameters

Name
ValueType

Returns

Type Description
CheckBoxListExtension

A CheckBoxListExtension object implementing the CheckBoxList functionality.

See Also