Implementing a Property Inspector/Editor in WPF
Posted
by Schneider
on Stack Overflow
See other posts from Stack Overflow
or by Schneider
Published on 2010-03-14T01:56:45Z
Indexed on
2010/03/14
2:05 UTC
Read the original article
Hit count: 398
wpf
|properties
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?
© Stack Overflow or respective owner