<PackageReference Include="System.ComponentModel.Annotations" Version="5.0.0-preview.2.20160.6" />

System.ComponentModel.DataAnnotations.DisplayAttribute

public sealed class DisplayAttribute : Attribute
namespace System.ComponentModel.DataAnnotations { public sealed class DisplayAttribute : Attribute { public string ShortName { get; set; } public string Name { get; set; } public string Description { get; set; } public string Prompt { get; set; } public string GroupName { get; set; } public Type ResourceType { get; set; } public bool AutoGenerateField { get; set; } public bool AutoGenerateFilter { get; set; } public int Order { get; set; } public string GetShortName(); public string GetName(); public string GetDescription(); public string GetPrompt(); public string GetGroupName(); public bool? GetAutoGenerateField(); public bool? GetAutoGenerateFilter(); public int? GetOrder(); public DisplayAttribute(); } }