InputExtensions.RadioButton Method

Returns a radio button input element that is used to present mutually exclusive options.

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

  Name Description
Public method Static member RadioButton(HtmlHelper, String, Object) Returns a radio button input element that is used to present mutually exclusive options.
Public method Static member RadioButton(HtmlHelper, String, Object, Boolean) Returns a radio button input element that is used to present mutually exclusive options.
Public method Static member RadioButton(HtmlHelper, String, Object, IDictionary<String, Object>) Returns a radio button input element that is used to present mutually exclusive options.
Public method Static member RadioButton(HtmlHelper, String, Object, Object) Returns a radio button input element that is used to present mutually exclusive options.
Public method Static member RadioButton(HtmlHelper, String, Object, Boolean, IDictionary<String, Object>) Returns a radio button input element that is used to present mutually exclusive options.
Public method Static member RadioButton(HtmlHelper, String, Object, Boolean, Object) Returns a radio button input element that is used to present mutually exclusive options.
Top

The difference between calling the RadioButton method and using an input element is that the RadioButton method is designed to make it easy to bind to view data or model data.

Show: