4 writes to Value
Microsoft.AspNetCore.Mvc.ViewFeatures (4)
DefaultHtmlGenerator.cs (1)
1584
Value
= string.Empty,
HtmlHelper.cs (1)
1388
Value
= keyValuePair.Value,
Rendering\MultiSelectList.cs (1)
167
Value
= value,
Rendering\SelectListItem.cs (1)
27
Value
= value;
19 references to Value
Microsoft.AspNetCore.Mvc.ViewFeatures (19)
DefaultHtmlGenerator.cs (3)
1046
if (item.
Value
!= null)
1048
tagBuilder.Attributes["value"] = item.
Value
;
1645
var value = item.
Value
?? item.Text;
Rendering\HtmlHelperSelectExtensions.cs (11)
17
/// "selected" attribute to an <option> if its <see cref="SelectListItem.
Value
"/> (if non-<c>null</c>) or
48
/// <see cref="SelectListItem.
Value
"/> (if non-<c>null</c>) or <see cref="SelectListItem.Text"/> matches the
88
/// <option> if its <see cref="SelectListItem.
Value
"/> (if non-<c>null</c>) or
122
/// <option> if its <see cref="SelectListItem.
Value
"/> (if non-<c>null</c>) or
161
/// "selected" attribute to an <option> if its <see cref="SelectListItem.
Value
"/> (if non-<c>null</c>) or
199
/// <option> if its <see cref="SelectListItem.
Value
"/> (if non-<c>null</c>) or
234
/// <option> if its <see cref="SelectListItem.
Value
"/> (if non-<c>null</c>) or
278
/// "selected" attribute to an <option> if its <see cref="SelectListItem.
Value
"/> (if non-<c>null</c>) or
317
/// "selected" attribute to an <option> if its <see cref="SelectListItem.
Value
"/> (if non-<c>null</c>) or
347
/// <option> if its <see cref="SelectListItem.
Value
"/> (if non-<c>null</c>) or
381
/// <option> if its <see cref="SelectListItem.
Value
"/> (if non-<c>null</c>) or
Rendering\IHtmlHelper.cs (3)
254
/// "selected" attribute to an <option> if its <see cref="SelectListItem.
Value
"/> (if non-<c>null</c>) or
376
/// with a decimal representation of the ordinal as <see cref="SelectListItem.
Value
"/>
445
/// <option> if its <see cref="SelectListItem.
Value
"/> (if non-<c>null</c>) or
Rendering\IHtmlHelperOfT.cs (2)
116
/// "selected" attribute to an <option> if its <see cref="SelectListItem.
Value
"/> (if non-<c>null</c>) or
238
/// <option> if its <see cref="SelectListItem.
Value
"/> (if non-<c>null</c>) or