Nach dem documentation: The runtime doesn’t look up localized strings for non-validation attributes. In the code above, “Email” (from [Display(Name = "Email")]) will not be localized. Ich bin auf der
Ich habe dieses Enum (Notebook.cs): public enum Notebook : byte
{
[Display(Name = "Notebook HP")]
NotebookHP,
[Display(Name = "Notebook Dell")]
NotebookDell
}
Auch diese Eigen
ich beabsichtige, das Display DataAnnotation Attribut zu verlängern, um einen Wert für die AccessKey für ein Eingabefeld zu halten, so kann ich es in meinen eigenen LabelFor<> und TextBoxFor<> Htmlhel