Share via


InputExtensions.RadioButton Method

Include Protected Members
Include Inherited Members

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.

Overload List

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

Top

Remarks

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.

See Also

Reference

InputExtensions Class

System.Web.Mvc.Html Namespace