summaryM:DotNetNuke.Web.Mvc.Helpers.HtmlTextAreaExtensions.TextAreaFor``2(DotNetNuke.Web.Mvc.Helpers.DnnHtmlHelper{``0},System.Linq.Expressions.Expression{System.Func{``0,``1}},System.Int32,System.Int32,System.Object)

Namespace: DotNetNuke.Web.Mvc.Helpers
Assembly: DotNetNuke.Web.Mvc (in DotNetNuke.Web.Mvc.dll)

Syntax

C#
public static MvcHtmlString TextAreaFor<TModel, TProperty>(
	this DnnHtmlHelper<TModel> html,
	Expression<Func<TModel, TProperty>> expression,
	int rows,
	int columns,
	Object htmlAttributes
)
Visual Basic
<ExtensionAttribute> 
Public Shared Function TextAreaFor(Of TModel, TProperty) ( 
	html As DnnHtmlHelper(Of TModel),
	expression As Expression(Of Func(Of TModel, TProperty)),
	rows As Integer,
	columns As Integer,
	htmlAttributes As Object
) As MvcHtmlString

Parameters

html
Type: DotNetNuke.Web.Mvc.Helpers..::..DnnHtmlHelper<(Of <(<'TModel>)>)>
paramhtmlM:DotNetNuke.Web.Mvc.Helpers.HtmlTextAreaExtensions.TextAreaFor``2(DotNetNuke.Web.Mvc.Helpers.DnnHtmlHelper{``0},System.Linq.Expressions.Expression{System.Func{``0,``1}},System.Int32,System.Int32,System.Object)
expression
Type: System.Linq.Expressions..::..Expression<(Of <(<'Func<(Of <(<'TModel, TProperty>)>)>>)>)>
paramexpressionM:DotNetNuke.Web.Mvc.Helpers.HtmlTextAreaExtensions.TextAreaFor``2(DotNetNuke.Web.Mvc.Helpers.DnnHtmlHelper{``0},System.Linq.Expressions.Expression{System.Func{``0,``1}},System.Int32,System.Int32,System.Object)
rows
Type: System..::..Int32
paramrowsM:DotNetNuke.Web.Mvc.Helpers.HtmlTextAreaExtensions.TextAreaFor``2(DotNetNuke.Web.Mvc.Helpers.DnnHtmlHelper{``0},System.Linq.Expressions.Expression{System.Func{``0,``1}},System.Int32,System.Int32,System.Object)
columns
Type: System..::..Int32
paramcolumnsM:DotNetNuke.Web.Mvc.Helpers.HtmlTextAreaExtensions.TextAreaFor``2(DotNetNuke.Web.Mvc.Helpers.DnnHtmlHelper{``0},System.Linq.Expressions.Expression{System.Func{``0,``1}},System.Int32,System.Int32,System.Object)
htmlAttributes
Type: System..::..Object
paramhtmlAttributesM:DotNetNuke.Web.Mvc.Helpers.HtmlTextAreaExtensions.TextAreaFor``2(DotNetNuke.Web.Mvc.Helpers.DnnHtmlHelper{``0},System.Linq.Expressions.Expression{System.Func{``0,``1}},System.Int32,System.Int32,System.Object)

Type Parameters

TModel
typeparamTModelM:DotNetNuke.Web.Mvc.Helpers.HtmlTextAreaExtensions.TextAreaFor``2(DotNetNuke.Web.Mvc.Helpers.DnnHtmlHelper{``0},System.Linq.Expressions.Expression{System.Func{``0,``1}},System.Int32,System.Int32,System.Object)
TProperty
typeparamTPropertyM:DotNetNuke.Web.Mvc.Helpers.HtmlTextAreaExtensions.TextAreaFor``2(DotNetNuke.Web.Mvc.Helpers.DnnHtmlHelper{``0},System.Linq.Expressions.Expression{System.Func{``0,``1}},System.Int32,System.Int32,System.Object)

Return Value

returnsM:DotNetNuke.Web.Mvc.Helpers.HtmlTextAreaExtensions.TextAreaFor``2(DotNetNuke.Web.Mvc.Helpers.DnnHtmlHelper{``0},System.Linq.Expressions.Expression{System.Func{``0,``1}},System.Int32,System.Int32,System.Object)

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DnnHtmlHelper<(Of <(<'TModel>)>)>. When you use instance method syntax to call this method, omit the first parameter. For more information, see [b8020aae-374d-46a9-bcb7-8cc2390b93b6] or [175ce3ff-9bbf-4e64-8421-faeb81a0bb51].

See Also