This is a migrated thread and some comments may be shown as answers.

How to set RadPropertyGrid DataContext

1 Answer 40 Views
PropertyGrid
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 28 Mar 2014, 08:42 PM
Hello,

I've got a domain model info class, basically some get-only properties on an INotifyPropertyChanged class. I set the DataContext to an instance of this, but nothing is happening for the RadPropertyGrid. No properties show up.

Question: do the properties need to be settable? Or otherwise have ReadOnlyAttribute attached to them?

Thank ye...

Best regards.

1 Answer, 1 is accepted

Sort by
0
Michael
Top achievements
Rank 1
answered on 28 Mar 2014, 09:05 PM
I got it working. Works fine. I think I was tripping up over one of the AutoGenerateThisOrThat properties.
Tags
PropertyGrid
Asked by
Michael
Top achievements
Rank 1
Answers by
Michael
Top achievements
Rank 1
Share this question
or