2 writes to ValidationMessageElement
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
Rendering\ViewContext.cs (2)
73
ValidationMessageElement
= htmlHelperOptions.ValidationMessageElement;
101
ValidationMessageElement
= viewContext.ValidationMessageElement;
20 references to ValidationMessageElement
Microsoft.AspNetCore.Mvc.ViewFeatures (18)
DefaultHtmlGenerator.cs (1)
758
tag = viewContext.
ValidationMessageElement
;
IHtmlGenerator.cs (2)
523
/// <see cref="ViewContext.
ValidationMessageElement
"/>.
530
/// <remarks><see cref="ViewContext.
ValidationMessageElement
"/> is <c>"span"</c> by default.</remarks>
Rendering\HtmlHelperValidationExtensions.cs (12)
21
/// A new <see cref="IHtmlContent"/> containing a <see cref="ViewContext.
ValidationMessageElement
"/> element.
50
/// A new <see cref="IHtmlContent"/> containing a <see cref="ViewContext.
ValidationMessageElement
"/> element.
72
/// (<see cref="ViewContext.
ValidationMessageElement
"/>) element. Alternatively, an
77
/// A new <see cref="IHtmlContent"/> containing a <see cref="ViewContext.
ValidationMessageElement
"/> element.
108
/// <see cref="ViewContext.
ValidationMessageElement
"/>.
139
/// (<see cref="ViewContext.
ValidationMessageElement
"/>) element. Alternatively, an
144
/// A new <see cref="IHtmlContent"/> containing a <see cref="ViewContext.
ValidationMessageElement
"/> element.
168
/// A new <see cref="IHtmlContent"/> containing a <see cref="ViewContext.
ValidationMessageElement
"/> element.
200
/// A new <see cref="IHtmlContent"/> containing a <see cref="ViewContext.
ValidationMessageElement
"/> element.
228
/// (<see cref="ViewContext.
ValidationMessageElement
"/>) element. Alternatively, an
235
/// A new <see cref="IHtmlContent"/> containing a <see cref="ViewContext.
ValidationMessageElement
"/> element.
264
/// <see cref="ViewContext.
ValidationMessageElement
"/>.
Rendering\IHtmlHelper.cs (1)
679
/// <see cref="ViewContext.
ValidationMessageElement
"/>.
Rendering\IHtmlHelperOfT.cs (1)
409
/// <see cref="ViewContext.
ValidationMessageElement
"/>.
Rendering\ViewContext.cs (1)
101
ValidationMessageElement = viewContext.
ValidationMessageElement
;
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
Rendering\ViewContextTests.cs (2)
73
Assert.Same(originalContext.
ValidationMessageElement
, context.
ValidationMessageElement
);