Skip to content

Please say how to set the Display Name #11014

Open
@dcwilliams1

Description

@dcwilliams1

Type of issue

Typo

Description

I looked up the DisplayName property to find out how to set it in code. This article has no examples and no mention of how to set the DisplayName. Could you please always include examples? Documentation without examples is not very useful.

[Enter feedback here]

Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.componentmodel.dataannotations.validationcontext.displayname?view=net-8.0

Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.ComponentModel.DataAnnotations/ValidationContext.xml

Document Version Independent Id

b2459688-f6b6-8caa-3cba-81f04003e939

Article author

@dotnet-bot

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions