TextAreaExtensions.TextAreaFor TextAreaExtensions.TextAreaFor TextAreaExtensions.TextAreaFor Method

Definition

Overloads

TextAreaFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>) TextAreaFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>) 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.

TextAreaFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>, IDictionary<String,Object>) TextAreaFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>, IDictionary<String,Object>) 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.

TextAreaFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>, Object) TextAreaFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>, Object) 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.

TextAreaFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>, Int32, Int32, IDictionary<String,Object>) TextAreaFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>, Int32, Int32, IDictionary<String,Object>) 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.

TextAreaFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>, Int32, Int32, Object) TextAreaFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>, Int32, Int32, Object) 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.

TextAreaFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>) TextAreaFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>) 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.

public static System.Web.Mvc.MvcHtmlString TextAreaFor<TModel,TProperty> (this System.Web.Mvc.HtmlHelper<TModel> htmlHelper, System.Linq.Expressions.Expression<Func<TModel,TProperty>> expression);
static member TextAreaFor : System.Web.Mvc.HtmlHelper<'Model> * System.Linq.Expressions.Expression<Func<'Model, 'Property>> -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function TextAreaFor(Of TModel, TProperty) (htmlHelper As HtmlHelper(Of TModel), expression As Expression(Of Func(Of TModel, TProperty))) As MvcHtmlString

Type Parameters

TModel

The type of the model.

TProperty

The type of the property.

Parameters

htmlHelper
HtmlHelper<TModel> HtmlHelper<TModel> HtmlHelper<TModel>

The HTML helper instance that this method extends.

expression
Expression<Func<TModel,TProperty>>

An expression that identifies the object that contains the properties to render.

Returns

An HTML textarea element for each property in the object that is represented by the expression.

Exceptions

TextAreaFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>, IDictionary<String,Object>) TextAreaFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>, IDictionary<String,Object>) 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.

public static System.Web.Mvc.MvcHtmlString TextAreaFor<TModel,TProperty> (this System.Web.Mvc.HtmlHelper<TModel> htmlHelper, System.Linq.Expressions.Expression<Func<TModel,TProperty>> expression, System.Collections.Generic.IDictionary<string,object> htmlAttributes);
static member TextAreaFor : System.Web.Mvc.HtmlHelper<'Model> * System.Linq.Expressions.Expression<Func<'Model, 'Property>> * System.Collections.Generic.IDictionary<string, obj> -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function TextAreaFor(Of TModel, TProperty) (htmlHelper As HtmlHelper(Of TModel), expression As Expression(Of Func(Of TModel, TProperty)), htmlAttributes As IDictionary(Of String, Object)) As MvcHtmlString

Type Parameters

TModel

The type of the model.

TProperty

The type of the property.

Parameters

htmlHelper
HtmlHelper<TModel> HtmlHelper<TModel> HtmlHelper<TModel>

The HTML helper instance that this method extends.

expression
Expression<Func<TModel,TProperty>>

An expression that identifies the object that contains the properties to render.

htmlAttributes
IDictionary<String,Object>

A dictionary that contains the HTML attributes to set for the element.

Returns

An HTML textarea element for each property in the object that is represented by the expression.

Exceptions

TextAreaFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>, Object) TextAreaFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>, Object) 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.

public static System.Web.Mvc.MvcHtmlString TextAreaFor<TModel,TProperty> (this System.Web.Mvc.HtmlHelper<TModel> htmlHelper, System.Linq.Expressions.Expression<Func<TModel,TProperty>> expression, object htmlAttributes);
static member TextAreaFor : System.Web.Mvc.HtmlHelper<'Model> * System.Linq.Expressions.Expression<Func<'Model, 'Property>> * obj -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function TextAreaFor(Of TModel, TProperty) (htmlHelper As HtmlHelper(Of TModel), expression As Expression(Of Func(Of TModel, TProperty)), htmlAttributes As Object) As MvcHtmlString

Type Parameters

TModel

The type of the model.

TProperty

The type of the property.

Parameters

htmlHelper
HtmlHelper<TModel> HtmlHelper<TModel> HtmlHelper<TModel>

The HTML helper instance that this method extends.

expression
Expression<Func<TModel,TProperty>>

An expression that identifies the object that contains the properties to render.

htmlAttributes
Object Object Object

A dictionary that contains the HTML attributes to set for the element.

Returns

An HTML textarea element for each property in the object that is represented by the expression.

Exceptions

TextAreaFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>, Int32, Int32, IDictionary<String,Object>) TextAreaFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>, Int32, Int32, IDictionary<String,Object>) 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.

public static System.Web.Mvc.MvcHtmlString TextAreaFor<TModel,TProperty> (this System.Web.Mvc.HtmlHelper<TModel> htmlHelper, System.Linq.Expressions.Expression<Func<TModel,TProperty>> expression, int rows, int columns, System.Collections.Generic.IDictionary<string,object> htmlAttributes);
static member TextAreaFor : System.Web.Mvc.HtmlHelper<'Model> * System.Linq.Expressions.Expression<Func<'Model, 'Property>> * int * int * System.Collections.Generic.IDictionary<string, obj> -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function TextAreaFor(Of TModel, TProperty) (htmlHelper As HtmlHelper(Of TModel), expression As Expression(Of Func(Of TModel, TProperty)), rows As Integer, columns As Integer, htmlAttributes As IDictionary(Of String, Object)) As MvcHtmlString

Type Parameters

TModel

The type of the model.

TProperty

The type of the property.

Parameters

htmlHelper
HtmlHelper<TModel> HtmlHelper<TModel> HtmlHelper<TModel>

The HTML helper instance that this method extends.

expression
Expression<Func<TModel,TProperty>>

An expression that identifies the object that contains the properties to render.

rows
Int32 Int32 Int32

The number of rows.

columns
Int32 Int32 Int32

The number of columns.

htmlAttributes
IDictionary<String,Object>

A dictionary that contains the HTML attributes to set for the element.

Returns

An HTML textarea element for each property in the object that is represented by the expression.

Exceptions

TextAreaFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>, Int32, Int32, Object) TextAreaFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>, Int32, Int32, Object) 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.

public static System.Web.Mvc.MvcHtmlString TextAreaFor<TModel,TProperty> (this System.Web.Mvc.HtmlHelper<TModel> htmlHelper, System.Linq.Expressions.Expression<Func<TModel,TProperty>> expression, int rows, int columns, object htmlAttributes);
static member TextAreaFor : System.Web.Mvc.HtmlHelper<'Model> * System.Linq.Expressions.Expression<Func<'Model, 'Property>> * int * int * obj -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function TextAreaFor(Of TModel, TProperty) (htmlHelper As HtmlHelper(Of TModel), expression As Expression(Of Func(Of TModel, TProperty)), rows As Integer, columns As Integer, htmlAttributes As Object) As MvcHtmlString

Type Parameters

TModel

The type of the model.

TProperty

The type of the property.

Parameters

htmlHelper
HtmlHelper<TModel> HtmlHelper<TModel> HtmlHelper<TModel>

The HTML helper instance that this method extends.

expression
Expression<Func<TModel,TProperty>>

An expression that identifies the object that contains the properties to render.

rows
Int32 Int32 Int32

The number of rows.

columns
Int32 Int32 Int32

The number of columns.

htmlAttributes
Object Object Object

A dictionary that contains the HTML attributes to set for the element.

Returns

An HTML textarea element for each property in the object that is represented by the expression.

Exceptions

Applies to