ExtensionsFactory<ModelType>.CheckBoxFor<ValueType>(Expression<Func<ModelType, ValueType>>, Action<CheckBoxSettings>) Method
Creates a CheckBox.
Namespace: DevExpress.Web.Mvc.UI
Assembly: DevExpress.Web.Mvc5.v24.2.dll
Declaration
public CheckBoxExtension CheckBoxFor<ValueType>(
Expression<Func<ModelType, ValueType>> expression,
Action<CheckBoxSettings> method
)
Parameters
Name | Type | Description |
---|---|---|
expression | Expression<Func<ModelType, ValueType>> | An expression that identifies the object that contains the properties to display. |
method | Action<CheckBoxSettings> | A delegate method that accepts CheckBoxSettings as a parameter. |
Type Parameters
Name |
---|
ValueType |
Returns
Type | Description |
---|---|
CheckBoxExtension | A CheckBoxExtension object implementing the CheckBox functionality. |
See Also