11 references to Prompt
Microsoft.AspNetCore.Mvc.Abstractions (1)
ModelBinding\ModelMetadata.cs (1)
384/// By default, this is configured using <see cref="System.ComponentModel.DataAnnotations.DisplayAttribute.Prompt" />.
Microsoft.AspNetCore.Mvc.DataAnnotations (2)
DataAnnotationsMetadataProvider.cs (2)
257!string.IsNullOrEmpty(displayAttribute.Prompt) && 260displayMetadata.Placeholder = () => localizer[displayAttribute.Prompt];
System.ComponentModel.Annotations (8)
System\ComponentModel\DataAnnotations\DisplayAttribute.cs (8)
24private readonly LocalizableString _prompt = new LocalizableString(nameof(Prompt)); 168/// <see cref="Name" />, <see cref="Description" />, <see cref="Prompt" />, and <see cref="GroupName" />. 360/// This can be either a literal, non-localized string provided to <see cref="Prompt" /> or the 361/// localized string found when <see cref="ResourceType" /> has been specified and <see cref="Prompt" /> 367/// <see cref="Prompt" /> will be returned. 369/// When <see cref="ResourceType" /> has been specified and <see cref="Prompt" /> 374/// After setting both the <see cref="ResourceType" /> property and the <see cref="Prompt" /> property, 375/// but a public static property with a name matching the <see cref="Prompt" /> value couldn't be found