15 references to AddCssClass
Microsoft.AspNetCore.Mvc.ViewFeatures (13)
DefaultDisplayTemplates.cs (5)
34
inputTag.
AddCssClass
("check-box");
49
selectTag.
AddCssClass
("list-box");
50
selectTag.
AddCssClass
("tri-state");
240
labelTag.
AddCssClass
("display-label");
245
valueDivTag.
AddCssClass
("display-field");
DefaultEditorTemplates.cs (2)
284
labelTag.
AddCssClass
("editor-label");
291
valueDivTag.
AddCssClass
("editor-field");
DefaultHtmlGenerator.cs (6)
586
tagBuilder.
AddCssClass
(HtmlHelper.ValidationInputCssClassName);
672
tagBuilder.
AddCssClass
(HtmlHelper.ValidationInputCssClassName);
769
tagBuilder.
AddCssClass
(className);
876
tagBuilder.
AddCssClass
(HtmlHelper.ValidationSummaryValidCssClassName);
880
tagBuilder.
AddCssClass
(HtmlHelper.ValidationSummaryCssClassName);
1264
tagBuilder.
AddCssClass
(HtmlHelper.ValidationInputCssClassName);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
Rendering\TagBuilderTest.cs (2)
49
tagBuilder.
AddCssClass
("btn-success");
314
originalTagBuilder.
AddCssClass
("class1");