Udostępnij za pośrednictwem


TextAreaExtensions.TextAreaFor Method

Include Protected Members
Include Inherited Members

Returns an HTML textarea 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 TextAreaFor<TModel, TProperty>(HtmlHelper<TModel>, Expression<Func<TModel, TProperty>>) Returns an HTML textarea element for each property in the object that is represented by the specified expression.
Public methodStatic member TextAreaFor<TModel, TProperty>(HtmlHelper<TModel>, Expression<Func<TModel, TProperty>>, IDictionary<String, Object>) Returns an HTML textarea element for each property in the object that is represented by the specified expression using the specified HTML attributes.
Public methodStatic member TextAreaFor<TModel, TProperty>(HtmlHelper<TModel>, Expression<Func<TModel, TProperty>>, Object) Returns an HTML textarea element for each property in the object that is represented by the specified expression using the specified HTML attributes.
Public methodStatic member TextAreaFor<TModel, TProperty>(HtmlHelper<TModel>, Expression<Func<TModel, TProperty>>, Int32, Int32, IDictionary<String, Object>) Returns an HTML textarea element for each property in the object that is represented by the specified expression using the specified HTML attributes and the number of rows and columns.
Public methodStatic member TextAreaFor<TModel, TProperty>(HtmlHelper<TModel>, Expression<Func<TModel, TProperty>>, Int32, Int32, Object) Returns an HTML textarea element for each property in the object that is represented by the specified expression using the specified HTML attributes and the number of rows and columns.

Top

See Also

Reference

TextAreaExtensions Class

System.Web.Mvc.Html Namespace