WPF Property Grid

62 views
Skip to first unread message

Jason Batchkoff

unread,
Dec 4, 2014, 6:11:03 PM12/4/14
to authoring-to...@googlegroups.com
Is there a good example that showcases the features of your guys PropertyGrid?

julianneh

unread,
Dec 4, 2014, 7:27:27 PM12/4/14
to authoring-to...@googlegroups.com
We don't have the PropertyGrid included in a sample app at the moment. One of our clients has used it for a WPF tool they're building, called Sulpha. It's not open source, but you can see a screenshot in our gallery here and at least see what the PropertyGrid looks like: https://github.com/SonyWWS/ATF/wiki/ATF-Gallery

Let me know if you have questions about getting it set up.

Jason Batchkoff

unread,
Dec 8, 2014, 2:20:10 PM12/8/14
to authoring-to...@googlegroups.com
Thanks for the info.  It looks like that's a fairly basic property grid.  

Does it support hierarchies?  How about custom overrides, where we take a group of fields and replace them with one control?

Des Griffiths

unread,
Dec 8, 2014, 3:27:09 PM12/8/14
to authoring-to...@googlegroups.com
Hi Jason,

The WPF PropertyGrid control supports grouping, sorting, single and multiple instance editing, transactions (undo/redo), dependency enabling and probably a few other things I've forgotten. There's no hierarchy support internally but the value editors are customizable - out of the box there are editors for sliders, standard values, multi-line text check-box etc, that are DataTemplate driven. So it's very easy to create your own editor - just derive from the ValueEditor class and override GetTemplate to supply the DataTemplate and GetCustomContext to supply the new DataContext for the editor. If you need a concrete example then let me know and I'll put something together as soon as I can,

Regards,
Des
Reply all
Reply to author
Forward
0 new messages