Udostępnij za pośrednictwem


InputExtensions.RadioButtonFor Method

Include Protected Members
Include Inherited Members

Returns a radio button 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 RadioButtonFor<TModel, TProperty>(HtmlHelper<TModel>, Expression<Func<TModel, TProperty>>, Object) Returns a radio button input element for each property in the object that is represented by the specified expression.
Public methodStatic member RadioButtonFor<TModel, TProperty>(HtmlHelper<TModel>, Expression<Func<TModel, TProperty>>, Object, IDictionary<String, Object>) Returns a radio button input element for each property in the object that is represented by the specified expression, using the specified HTML attributes.
Public methodStatic member RadioButtonFor<TModel, TProperty>(HtmlHelper<TModel>, Expression<Func<TModel, TProperty>>, Object, Object) Returns a radio button 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