ValidationSummaryTagHelper.ValidationSummary ValidationSummaryTagHelper.ValidationSummary ValidationSummaryTagHelper.ValidationSummary Property

Definition

If All or ModelOnly, appends a validation summary. Otherwise (None, the default), this tag helper does nothing.

[Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeName("asp-validation-summary")]
public Microsoft.AspNetCore.Mvc.Rendering.ValidationSummary ValidationSummary { get; set; }
member this.ValidationSummary : Microsoft.AspNetCore.Mvc.Rendering.ValidationSummary with get, set
Public Property ValidationSummary As ValidationSummary

Property Value

Exceptions

Thrown if setter is called with an undefined ValidationSummary value e.g. (ValidationSummary)23.

Applies to