Skip to content

In the MVVM toolkit, is there a way to add a DisplayNameAttribute to the generated properties? #739

Answered by Sergio0694
Konstantin-tr asked this question in Q&A
Discussion options

You must be logged in to vote

You can use [property: DisplayName(...)] on the field to forward any attributes you need on the generated property 🙂

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@Konstantin-tr
Comment options

@Sergio0694
Comment options

@Konstantin-tr
Comment options

Answer selected by Sergio0694
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants