ExtensionsFactory<ModelType>.CheckBoxListFor<ValueType>(Expression<Func<ModelType, ValueType>>, Action<CheckBoxListSettings>) Method
Creates a CheckBoxList.
Namespace: DevExpress.Web.Mvc.UI
Assembly: DevExpress.Web.Mvc5.v24.1.dll
NuGet Package: DevExpress.Web.Mvc5
Declaration
public CheckBoxListExtension CheckBoxListFor<ValueType>(
Expression<Func<ModelType, ValueType>> expression,
Action<CheckBoxListSettings> method
)
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