TextAreaExtensions Class

 

Represents support for HTML textarea controls.

Namespace:   System.Web.Mvc.Html
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

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

public static class TextAreaExtensions

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticTextArea(HtmlHelper, String)

Returns the specified textarea element by using the specified HTML helper and the name of the form field.

System_CAPS_pubmethodSystem_CAPS_staticTextArea(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.

System_CAPS_pubmethodSystem_CAPS_staticTextArea(HtmlHelper, String, Object)

Returns the specified textarea element by using the specified HTML helper and HTML attributes.

System_CAPS_pubmethodSystem_CAPS_staticTextArea(HtmlHelper, String, String)

Returns the specified textarea element by using the specified HTML helper, the name of the form field, and the text content.

System_CAPS_pubmethodSystem_CAPS_staticTextArea(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.

System_CAPS_pubmethodSystem_CAPS_staticTextArea(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.

System_CAPS_pubmethodSystem_CAPS_staticTextArea(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.

System_CAPS_pubmethodSystem_CAPS_staticTextArea(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.

System_CAPS_pubmethodSystem_CAPS_staticTextAreaFor<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.

System_CAPS_pubmethodSystem_CAPS_staticTextAreaFor<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.

System_CAPS_pubmethodSystem_CAPS_staticTextAreaFor<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.

System_CAPS_pubmethodSystem_CAPS_staticTextAreaFor<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.

System_CAPS_pubmethodSystem_CAPS_staticTextAreaFor<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.

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.

Return to top
Show: