Export (0) Print
Expand All

TextAreaExtensions.TextArea Method

Returns the specified textarea element.

  NameDescription
Public method Static member TextArea(HtmlHelper, String) Returns the specified textarea element by using the specified HTML helper and the name of the form field.
Public method Static 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 method Static member TextArea(HtmlHelper, String, Object) Returns the specified textarea element by using the specified HTML helper and HTML attributes.
Public method Static 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 method Static 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 method Static 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 method Static 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 method Static 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

A text area is a text box that enables the user to enter multiple lines of text. If you want to limit the user to one line of text, you should use the TextBox method instead.

Community Additions

Show:
© 2014 Microsoft