ValidationSummaryTagHelper.ValidationSummary Property

Definition

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

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

Property Value

Attributes

Exceptions

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

Applies to