TextAreaTagHelper TextAreaTagHelper TextAreaTagHelper Class

Definition

ITagHelper implementation targeting <textarea> elements with an asp-for attribute.

[Microsoft.AspNetCore.Razor.TagHelpers.HtmlTargetElement("textarea", Attributes="asp-for")]
public class TextAreaTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.TagHelper
type TextAreaTagHelper = class
    inherit TagHelper
Public Class TextAreaTagHelper
Inherits TagHelper
Inheritance
TextAreaTagHelperTextAreaTagHelperTextAreaTagHelper
Attributes

Constructors

TextAreaTagHelper(IHtmlGenerator) TextAreaTagHelper(IHtmlGenerator) TextAreaTagHelper(IHtmlGenerator)

Creates a new TextAreaTagHelper.

Properties

For For For

An expression to be evaluated against the current model.

Generator Generator Generator
Name Name Name

The name of the <input> element.

Order Order Order
ViewContext ViewContext ViewContext

Methods

Init(TagHelperContext) Init(TagHelperContext) Init(TagHelperContext)

Initializes the ITagHelper with the given context. Additions to Items should be done within this method to ensure they're added prior to executing the children.

(Inherited from TagHelper)
Process(TagHelperContext, TagHelperOutput) Process(TagHelperContext, TagHelperOutput) Process(TagHelperContext, TagHelperOutput)
ProcessAsync(TagHelperContext, TagHelperOutput) ProcessAsync(TagHelperContext, TagHelperOutput) ProcessAsync(TagHelperContext, TagHelperOutput)

Asynchronously executes the TagHelper with the given context and output.

(Inherited from TagHelper)

Applies to