TextAreaExtensions.TextArea TextAreaExtensions.TextArea Method

Definition

Overloads

TextArea(HtmlHelper, String) TextArea(HtmlHelper, String)

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

TextArea(HtmlHelper, String, IDictionary<String,Object>) 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.

TextArea(HtmlHelper, String, Object) TextArea(HtmlHelper, String, Object)

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

TextArea(HtmlHelper, String, String) 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.

TextArea(HtmlHelper, String, String, IDictionary<String,Object>) 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.

TextArea(HtmlHelper, String, String, Object) 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.

TextArea(HtmlHelper, String, String, Int32, Int32, IDictionary<String,Object>) 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.

TextArea(HtmlHelper, String, String, Int32, Int32, Object) 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.

TextArea(HtmlHelper, String) TextArea(HtmlHelper, String)

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

public static System.Web.Mvc.MvcHtmlString TextArea (this System.Web.Mvc.HtmlHelper htmlHelper, string name);
static member TextArea : System.Web.Mvc.HtmlHelper * string -> System.Web.Mvc.MvcHtmlString

Parameters

htmlHelper
HtmlHelper HtmlHelper

The HTML helper instance that this method extends.

name
String String

The name of the form field to return.

Returns

The textarea element.

TextArea(HtmlHelper, String, IDictionary<String,Object>) 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 static System.Web.Mvc.MvcHtmlString TextArea (this System.Web.Mvc.HtmlHelper htmlHelper, string name, System.Collections.Generic.IDictionary<string,object> htmlAttributes);
static member TextArea : System.Web.Mvc.HtmlHelper * string * System.Collections.Generic.IDictionary<string, obj> -> System.Web.Mvc.MvcHtmlString

Parameters

htmlHelper
HtmlHelper HtmlHelper

The HTML helper instance that this method extends.

name
String String

The name of the form field to return.

htmlAttributes
IDictionary<String,Object>

An object that contains the HTML attributes to set for the element.

Returns

The textarea element.

TextArea(HtmlHelper, String, Object) TextArea(HtmlHelper, String, Object)

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

public static System.Web.Mvc.MvcHtmlString TextArea (this System.Web.Mvc.HtmlHelper htmlHelper, string name, object htmlAttributes);
static member TextArea : System.Web.Mvc.HtmlHelper * string * obj -> System.Web.Mvc.MvcHtmlString

Parameters

htmlHelper
HtmlHelper HtmlHelper

The HTML helper instance that this method extends.

name
String String

The name of the form field to return.

htmlAttributes
Object Object

An object that contains the HTML attributes to set for the element.

Returns

The textarea element.

TextArea(HtmlHelper, String, String) 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 static System.Web.Mvc.MvcHtmlString TextArea (this System.Web.Mvc.HtmlHelper htmlHelper, string name, string value);
static member TextArea : System.Web.Mvc.HtmlHelper * string * string -> System.Web.Mvc.MvcHtmlString

Parameters

htmlHelper
HtmlHelper HtmlHelper

The HTML helper instance that this method extends.

name
String String

The name of the form field to return.

value
String String

The text content.

Returns

The textarea element.

TextArea(HtmlHelper, String, String, IDictionary<String,Object>) 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 static System.Web.Mvc.MvcHtmlString TextArea (this System.Web.Mvc.HtmlHelper htmlHelper, string name, string value, System.Collections.Generic.IDictionary<string,object> htmlAttributes);
static member TextArea : System.Web.Mvc.HtmlHelper * string * string * System.Collections.Generic.IDictionary<string, obj> -> System.Web.Mvc.MvcHtmlString

Parameters

htmlHelper
HtmlHelper HtmlHelper

The HTML helper instance that this method extends.

name
String String

The name of the form field to return.

value
String String

The text content.

htmlAttributes
IDictionary<String,Object>

An object that contains the HTML attributes to set for the element.

Returns

The textarea element.

TextArea(HtmlHelper, String, String, Object) 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 static System.Web.Mvc.MvcHtmlString TextArea (this System.Web.Mvc.HtmlHelper htmlHelper, string name, string value, object htmlAttributes);
static member TextArea : System.Web.Mvc.HtmlHelper * string * string * obj -> System.Web.Mvc.MvcHtmlString

Parameters

htmlHelper
HtmlHelper HtmlHelper

The HTML helper instance that this method extends.

name
String String

The name of the form field to return.

value
String String

The text content.

htmlAttributes
Object Object

An object that contains the HTML attributes to set for the element.

Returns

The textarea element.

TextArea(HtmlHelper, String, String, Int32, Int32, IDictionary<String,Object>) 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 static System.Web.Mvc.MvcHtmlString TextArea (this System.Web.Mvc.HtmlHelper htmlHelper, string name, string value, int rows, int columns, System.Collections.Generic.IDictionary<string,object> htmlAttributes);
static member TextArea : System.Web.Mvc.HtmlHelper * string * string * int * int * System.Collections.Generic.IDictionary<string, obj> -> System.Web.Mvc.MvcHtmlString

Parameters

htmlHelper
HtmlHelper HtmlHelper

The HTML helper instance that this method extends.

name
String String

The name of the form field to return.

value
String String

The text content.

rows
Int32 Int32

The number of rows.

columns
Int32 Int32

The number of columns.

htmlAttributes
IDictionary<String,Object>

An object that contains the HTML attributes to set for the element.

Returns

The textarea element.

TextArea(HtmlHelper, String, String, Int32, Int32, Object) 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.

public static System.Web.Mvc.MvcHtmlString TextArea (this System.Web.Mvc.HtmlHelper htmlHelper, string name, string value, int rows, int columns, object htmlAttributes);
static member TextArea : System.Web.Mvc.HtmlHelper * string * string * int * int * obj -> System.Web.Mvc.MvcHtmlString

Parameters

htmlHelper
HtmlHelper HtmlHelper

The HTML helper instance that this method extends.

name
String String

The name of the form field to return.

value
String String

The text content.

rows
Int32 Int32

The number of rows.

columns
Int32 Int32

The number of columns.

htmlAttributes
Object Object

An object that contains the HTML attributes to set for the element.

Returns

The textarea element.

Applies to