TextAreaExtensions.TextArea Method

Include Protected Members
Include Inherited Members

Returns the specified textarea element.

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 TextArea(HtmlHelper, String) Returns the specified textarea element by using the specified HTML helper and the name of the form field.
Public methodStatic member TextArea(HtmlHelper, String, IDictionary<String, Object>) Returns the specified textarea element by using the specified HTML helper, the name of the form field, and the specified HTML attributes.
Public methodStatic member TextArea(HtmlHelper, String, Object) Returns the specified textarea element by using the specified HTML helper and HTML attributes.
Public methodStatic member TextArea(HtmlHelper, String, String) Returns the specified textarea element by using the specified HTML helper, the name of the form field, and the text content.
Public methodStatic member TextArea(HtmlHelper, String, String, IDictionary<String, Object>) Returns the specified textarea element by using the specified HTML helper, the name of the form field, the text content, and the specified HTML attributes.
Public methodStatic member TextArea(HtmlHelper, String, String, Object) Returns the specified textarea element by using the specified HTML helper, the name of the form field, the text content, and the specified HTML attributes.
Public methodStatic member TextArea(HtmlHelper, String, String, Int32, Int32, IDictionary<String, Object>) Returns the specified textarea element by using the specified HTML helper, the name of the form field, the text content, the number of rows and columns, and the specified HTML attributes.
Public methodStatic member TextArea(HtmlHelper, String, String, Int32, Int32, Object) Returns the specified textarea element by using the specified HTML helper, the name of the form field, the text content, the number of rows and columns, and the specified HTML attributes.

Top

Remarks

The difference between calling the TextArea method and using a textarea element is that the TextArea method is designed to make it easy to bind to view data or model data.

See Also

Reference

TextAreaExtensions Class

System.Web.Mvc.Html Namespace