HtmlHelperExtensions.TextArea Method (HtmlHelper, String, String, String, String, Nullable<Int32>, String, Boolean, String, String, Boolean, Nullable<Int32>, String, Nullable<Int32>, String)
Namespace: Microsoft.Web.Mvc.Html
Assembly: Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)
Syntax
public static MvcHtmlString TextArea(
this HtmlHelper htmlHelper,
string name,
string value = null,
string accessKey = null,
string cssClass = null,
Nullable<int> cols = null,
string dir = null,
bool disabled = false,
string id = null,
string lang = null,
bool readOnly = false,
Nullable<int> rows = null,
string style = null,
Nullable<int> tabIndex = null,
string title = null
)
public:
[ExtensionAttribute]
static MvcHtmlString^ TextArea(
HtmlHelper^ htmlHelper,
String^ name,
String^ value = null,
String^ accessKey = null,
String^ cssClass = null,
Nullable<int> cols = null,
String^ dir = null,
bool disabled = false,
String^ id = null,
String^ lang = null,
bool readOnly = false,
Nullable<int> rows = null,
String^ style = null,
Nullable<int> tabIndex = null,
String^ title = null
)
static member TextArea :
htmlHelper:HtmlHelper *
name:string *
value:string = null *
accessKey:string = null *
cssClass:string = null *
cols:Nullable<int> = null *
dir:string = null *
disabled:bool = false *
id:string = null *
lang:string = null *
readOnly:bool = false *
rows:Nullable<int> = null *
style:string = null *
tabIndex:Nullable<int> = null *
title:string = null -> MvcHtmlString
<ExtensionAttribute>
Public Shared Function TextArea (
htmlHelper As HtmlHelper,
name As String,
value As String,
accessKey As String,
cssClass As String,
cols As Nullable(Of Integer),
dir As String,
disabled As Boolean,
id As String,
lang As String,
readOnly As Boolean,
rows As Nullable(Of Integer),
style As String,
tabIndex As Nullable(Of Integer),
title As String
) As MvcHtmlString
Parameters
- htmlHelper
Type: System.Web.Mvc.HtmlHelper
- name
Type: System.String
- value
Type: System.String
- accessKey
Type: System.String
- cssClass
Type: System.String
- cols
Type: System.Nullable<Int32>
- dir
Type: System.String
- disabled
Type: System.Boolean
- id
Type: System.String
- lang
Type: System.String
- readOnly
Type: System.Boolean
- rows
Type: System.Nullable<Int32>
- style
Type: System.String
- tabIndex
Type: System.Nullable<Int32>
- title
Type: System.String
Return Value
Type: System.Web.Mvc.MvcHtmlString
See Also
HtmlHelperExtensions Class
Microsoft.Web.Mvc.Html Namespace
Return to top