HtmlHelper.CheckBox Method
Include Protected Members
Include Inherited Members
Returns an HTML check box control for use in a web page.
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 | |
---|---|---|
CheckBox(String) | Returns an HTML check box control that has the specified name. | |
CheckBox(String, Boolean) | Returns an HTML check box control that has the specified name and default checked status. | |
CheckBox(String, IDictionary<String, Object>) | Returns an HTML check box control that has the specified name and custom attributes defined by an attribute dictionary. | |
CheckBox(String, Object) | Returns an HTML check box control that has the specified name and custom attributes defined by an attribute object. | |
CheckBox(String, Boolean, IDictionary<String, Object>) | Returns an HTML check box control that has the specified name, default checked status, and custom attributes defined by an attribute dictionary. | |
CheckBox(String, Boolean, Object) | Returns an HTML check box control that has the specified name, default checked status, and custom attributes defined by an attribute object. |
Top
Remarks
The HTML check box control is returned as HTML markup that can be used to render the control in a web page.