AnonymousObjectToHtmlAttributes() public static method

public static AnonymousObjectToHtmlAttributes ( object htmlAttributes ) : RouteValueDictionary
htmlAttributes object
return RouteValueDictionary
Ejemplo n.º 1
0
 public static MvcHtmlString RadioButtonFor <TModel, TProperty>(this HtmlHelper <TModel> htmlHelper, Expression <Func <TModel, TProperty> > expression, object value, object htmlAttributes)
 {
     return(RadioButtonFor(htmlHelper, expression, value, HtmlHelper.AnonymousObjectToHtmlAttributes(htmlAttributes)));
 }
Ejemplo n.º 2
0
 public static MvcHtmlString CheckBox(this HtmlHelper htmlHelper, string name, object htmlAttributes)
 {
     return(CheckBox(htmlHelper, name, HtmlHelper.AnonymousObjectToHtmlAttributes(htmlAttributes)));
 }
Ejemplo n.º 3
0
 public static MvcHtmlString PasswordFor <TModel, TProperty>(this HtmlHelper <TModel> htmlHelper, Expression <Func <TModel, TProperty> > expression, object htmlAttributes)
 {
     return(PasswordFor(htmlHelper, expression, HtmlHelper.AnonymousObjectToHtmlAttributes(htmlAttributes)));
 }
Ejemplo n.º 4
0
 public static MvcHtmlString RadioButton(this HtmlHelper htmlHelper, string name, object value, bool isChecked, object htmlAttributes)
 {
     return(RadioButton(htmlHelper, name, value, isChecked, HtmlHelper.AnonymousObjectToHtmlAttributes(htmlAttributes)));
 }
Ejemplo n.º 5
0
 public static MvcHtmlString Password(this HtmlHelper htmlHelper, string name, object value, object htmlAttributes)
 {
     return(Password(htmlHelper, name, value, HtmlHelper.AnonymousObjectToHtmlAttributes(htmlAttributes)));
 }