Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

TextAreaExtensions Class

Represents support for HTML textarea controls.

System.Object
  System.Web.Mvc.Html.TextAreaExtensions

Namespace:  System.Web.Mvc.Html
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
public static class TextAreaExtensions
  NameDescription
Public methodStatic memberTextArea(HtmlHelper, String)Returns the specified textarea element by using the specified HTML helper and the name of the form field.
Public methodStatic memberTextArea(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 memberTextArea(HtmlHelper, String, Object)Returns the specified textarea element by using the specified HTML helper and HTML attributes.
Public methodStatic memberTextArea(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 memberTextArea(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 memberTextArea(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 memberTextArea(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 memberTextArea(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.
Public methodStatic memberTextAreaFor<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 memberTextAreaFor<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 memberTextAreaFor<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 memberTextAreaFor<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 memberTextAreaFor<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

The TextAreaExtensions class contains methods that extend the HtmlHelper class. Each extension method renders an HTML textarea element. The TextArea method renders an element that enables the user to enter multiple lines of text that is then submitted to the Web server.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft. All rights reserved.