Sdílet prostřednictvím


InputExtensions.TextBoxFor Method

Include Protected Members
Include Inherited Members

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