Freigeben über


InputExtensions.CheckBoxFor Method

Include Protected Members
Include Inherited Members

Returns a check box input element for each property in the object that is represented by an expression.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member CheckBoxFor<TModel>(HtmlHelper<TModel>, Expression<Func<TModel, Boolean>>) Returns a check box input element for each property in the object that is represented by the specified expression.
Public methodStatic member CheckBoxFor<TModel>(HtmlHelper<TModel>, Expression<Func<TModel, Boolean>>, IDictionary<String, Object>) Returns a check box input element for each property in the object that is represented by the specified expression, using the specified HTML attributes.
Public methodStatic member CheckBoxFor<TModel>(HtmlHelper<TModel>, Expression<Func<TModel, Boolean>>, Object) Returns a check box input element for each property in the object that is represented by the specified expression, using the specified HTML attributes.

Top

See Also

Reference

InputExtensions Class

System.Web.Mvc.Html Namespace