TextAreaExtensions Class

 

Represents support for HTML textarea controls.

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

Inheritance Hierarchy

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

Syntax

public static class TextAreaExtensions
[ExtensionAttribute]
public ref class TextAreaExtensions abstract sealed 
[<AbstractClass>]
[<Sealed>]
type TextAreaExtensions = class end
<ExtensionAttribute>
Public NotInheritable Class TextAreaExtensions

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static TextArea(HtmlHelper, String)

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

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

System_CAPS_pubmethodSystem_CAPS_static TextArea(HtmlHelper, String, Object)

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

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

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

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

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

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

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

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

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

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

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

Remarks

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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Web.Mvc.Html Namespace

Return to top