How to set RadPropertyGrid DataContext

2 posts, 0 answers
  1. Michael
    Michael avatar
    23 posts
    Member since:
    Mar 2014

    Posted 28 Mar 2014 Link to this post

    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.
  2. Michael
    Michael avatar
    23 posts
    Member since:
    Mar 2014

    Posted 28 Mar 2014 in reply to Michael Link to this post

    I got it working. Works fine. I think I was tripping up over one of the AutoGenerateThisOrThat properties.
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top