ValidationSummaryTagHelper 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 <div> elements with an asp-validation-summary
attribute.
public ref class ValidationSummaryTagHelper : Microsoft::AspNetCore::Razor::TagHelpers::TagHelper
[Microsoft.AspNetCore.Razor.TagHelpers.HtmlTargetElement("div", Attributes="asp-validation-summary")]
public class ValidationSummaryTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.TagHelper
[<Microsoft.AspNetCore.Razor.TagHelpers.HtmlTargetElement("div", Attributes="asp-validation-summary")>]
type ValidationSummaryTagHelper = class
inherit TagHelper
Public Class ValidationSummaryTagHelper
Inherits TagHelper
- Inheritance
- Attributes
Constructors
ValidationSummaryTagHelper(IHtmlGenerator) |
Creates a new ValidationSummaryTagHelper. |
Properties
Generator |
Gets the IHtmlGenerator used to generate the ValidationSummaryTagHelper's output. |
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. |
ValidationSummary |
If All or ModelOnly, appends a validation summary. Otherwise (None, the default), this tag helper does nothing. |
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 |