public static MvcHtmlString TextBoxFor <TModel, TProperty>(this LayuiHelper <TModel> htmlHelper, Expression <Func <TModel, TProperty> > expression, string format, object htmlAttributes) { return(htmlHelper.TextBoxFor(expression, format: format, htmlAttributes: LayuiHelper.AnonymousObjectToHtmlAttributes(htmlAttributes))); }
public static MvcHtmlString CheckBoxFor <TModel>(this LayuiHelper <TModel> htmlHelper, Expression <Func <TModel, bool> > expression, object htmlAttributes) { return(CheckBoxFor(htmlHelper, expression, LayuiHelper.AnonymousObjectToHtmlAttributes(htmlAttributes))); }
public static MvcHtmlString CheckBox(this LayuiHelper htmlHelper, string name, object htmlAttributes) { return(CheckBox(htmlHelper, name, LayuiHelper.AnonymousObjectToHtmlAttributes(htmlAttributes))); }
public static MvcHtmlString RadioButtonFor <TModel, TProperty>(this LayuiHelper <TModel> htmlHelper, Expression <Func <TModel, TProperty> > expression, object value, object htmlAttributes) { return(RadioButtonFor(htmlHelper, expression, value, LayuiHelper.AnonymousObjectToHtmlAttributes(htmlAttributes))); }
public static MvcHtmlString RadioButton(this LayuiHelper htmlHelper, string name, object value, bool isChecked, object htmlAttributes) { return(RadioButton(htmlHelper, name, value, isChecked, LayuiHelper.AnonymousObjectToHtmlAttributes(htmlAttributes))); }
public static MvcHtmlString PasswordFor <TModel, TProperty>(this LayuiHelper <TModel> htmlHelper, Expression <Func <TModel, TProperty> > expression, object htmlAttributes) { return(PasswordFor(htmlHelper, expression, LayuiHelper.AnonymousObjectToHtmlAttributes(htmlAttributes))); }
public static MvcHtmlString Password(this LayuiHelper htmlHelper, string name, object value, object htmlAttributes) { return(Password(htmlHelper, name, value, LayuiHelper.AnonymousObjectToHtmlAttributes(htmlAttributes))); }