Implementing a Property Inspector/Editor in WPF
- by Schneider
So far my plan is to have an event "Item selected" which the property inspector listens to. The actual property inspector is just a ContentControl. When the object is selected the content property is set and the appropriate DataTemplate for editing the object is loaded.
In general I am trying to do this "MVVM" style. I guess you could use reflection instead of templating but I only have a handful of types so far.
Has anyone implemented something similar?
Can you offer any advice or source code?