コード例 #1
0
 public static MvcHtmlString TextBoxFor <TModel, TProperty>(this HtmlHelper <TModel> htmlHelper, Expression <Func <TModel, TProperty> > expression, IDictionary <string, object> htmlAttributes)
 {
     return(htmlHelper.TextBoxFor(expression, format: null, htmlAttributes: htmlAttributes));
 }
コード例 #2
0
 public static MvcHtmlString TextBoxFor <TModel, TProperty>(this HtmlHelper <TModel> htmlHelper, Expression <Func <TModel, TProperty> > expression, string format)
 {
     return(htmlHelper.TextBoxFor(expression, format, (IDictionary <string, object>)null));
 }
コード例 #3
0
 public static MvcHtmlString TextBoxFor <TModel, TProperty>(this HtmlHelper <TModel> htmlHelper, Expression <Func <TModel, TProperty> > expression, string format, object htmlAttributes)
 {
     return(htmlHelper.TextBoxFor(expression, format: format, htmlAttributes: HtmlHelper.AnonymousObjectToHtmlAttributes(htmlAttributes)));
 }
コード例 #4
0
 public static MvcHtmlString TextBoxFor <TModel, TProperty>(this HtmlHelper <TModel> htmlHelper, Expression <Func <TModel, TProperty> > expression)
 {
     return(htmlHelper.TextBoxFor(expression, format: null));
 }