PropertyGrid looks promising but I'm struggling to make it work as I'd like. I want to be able to specify properties to display based on annotations in my View Model. Is this possible? I have tried applying the [Browsable] attribute and this works to an extent but you have to explicitly set [Browsable(fase)] on properties you want to exclude. In my case the View Model inherits from another class, so it is including all the properties from the base class and it is not my code so I can't add annotations to control these.
Is there any way to 'opt-in' to displaying properties? i.e. Only properties that are annotated will be displayed.