TextAreaTagHelper Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
ITagHelper implementation targeting <textarea> elements with an asp-for
attribute.
public ref class TextAreaTagHelper : Microsoft::AspNetCore::Razor::TagHelpers::TagHelper
[Microsoft.AspNetCore.Razor.TagHelpers.HtmlTargetElement("textarea", Attributes="asp-for")]
public class TextAreaTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.TagHelper
[<Microsoft.AspNetCore.Razor.TagHelpers.HtmlTargetElement("textarea", Attributes="asp-for")>]
type TextAreaTagHelper = class
inherit TagHelper
Public Class TextAreaTagHelper
Inherits TagHelper
- Inheritance
- Attributes
Constructors
TextAreaTagHelper(IHtmlGenerator) |
Creates a new TextAreaTagHelper. |
Properties
For |
An expression to be evaluated against the current model. |
Generator |
Gets the IHtmlGenerator used to generate the TextAreaTagHelper's output. |
Name |
The name of the <input> element. |
Order |
When a set of ITagHelpers are executed, their Init(TagHelperContext)'s are first invoked in the specified Order; then their ProcessAsync(TagHelperContext, TagHelperOutput)'s are invoked in the specified Order. Lower values are executed first. |
ViewContext |
Gets the ViewContext of the executing view. |
Methods
Init(TagHelperContext) |
Initializes the ITagHelper with the given |
Process(TagHelperContext, TagHelperOutput) |
Synchronously executes the TagHelper with the given |
ProcessAsync(TagHelperContext, TagHelperOutput) |
Asynchronously executes the TagHelper with the given |