18 references to CheckBoxHiddenInputRenderMode
Microsoft.AspNetCore.Mvc.TagHelpers (4)
InputTagHelper.cs (4)
123
/// Used to associate a hidden checkbox tag to the respecting form when <see cref="
CheckBoxHiddenInputRenderMode
"/> is not <see cref="
CheckBoxHiddenInputRenderMode
.None"/>.
327
if (ViewContext.CheckBoxHiddenInputRenderMode !=
CheckBoxHiddenInputRenderMode
.None)
355
if (ViewContext.CheckBoxHiddenInputRenderMode ==
CheckBoxHiddenInputRenderMode
.EndOfForm && ViewContext.FormContext.CanRenderAtEndOfForm)
Microsoft.AspNetCore.Mvc.TagHelpers.Test (5)
InputTagHelperTest.cs (5)
925
viewContext.CheckBoxHiddenInputRenderMode =
CheckBoxHiddenInputRenderMode
.None;
985
viewContext.CheckBoxHiddenInputRenderMode =
CheckBoxHiddenInputRenderMode
.Inline;
1045
viewContext.CheckBoxHiddenInputRenderMode =
CheckBoxHiddenInputRenderMode
.EndOfForm;
1105
viewContext.CheckBoxHiddenInputRenderMode =
CheckBoxHiddenInputRenderMode
.EndOfForm;
1346
viewContext.CheckBoxHiddenInputRenderMode =
CheckBoxHiddenInputRenderMode
.EndOfForm;
Microsoft.AspNetCore.Mvc.ViewFeatures (5)
HtmlHelper.cs (2)
732
if (ViewContext.CheckBoxHiddenInputRenderMode ==
CheckBoxHiddenInputRenderMode
.None)
752
if (ViewContext.CheckBoxHiddenInputRenderMode ==
CheckBoxHiddenInputRenderMode
.EndOfForm && ViewContext.FormContext.CanRenderAtEndOfForm)
HtmlHelperOptions.cs (2)
59
public
CheckBoxHiddenInputRenderMode
CheckBoxHiddenInputRenderMode { get; set; } =
CheckBoxHiddenInputRenderMode
.EndOfForm;
Rendering\ViewContext.cs (1)
157
public
CheckBoxHiddenInputRenderMode
CheckBoxHiddenInputRenderMode { get; set; }
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (4)
Rendering\HtmlHelperCheckboxTest.cs (4)
179
helper.ViewContext.CheckBoxHiddenInputRenderMode =
CheckBoxHiddenInputRenderMode
.None;
200
helper.ViewContext.CheckBoxHiddenInputRenderMode =
CheckBoxHiddenInputRenderMode
.Inline;
220
helper.ViewContext.CheckBoxHiddenInputRenderMode =
CheckBoxHiddenInputRenderMode
.EndOfForm;
246
helper.ViewContext.CheckBoxHiddenInputRenderMode =
CheckBoxHiddenInputRenderMode
.EndOfForm;