djcouchycouch
djcouchycouch

Reputation: 12832

Creating a WPF property grid?

Where would I start looking, if I wanted to create my own property grid control in WPF?

Upvotes: 3

Views: 17414

Answers (2)

Bahman Pourgholami
Bahman Pourgholami

Reputation: 23

You can use "toolkit" from http://schemas.xceed.com/wpf/xaml/toolkit there is this option to set propertyGrid

Upvotes: -1

David Keaveny
David Keaveny

Reputation: 4099

WPF Property Grid as mentioned by @Pop Catalin is good, but is painful to use in an MVVM scenario; databinding only seems to work when the control first loads, once you try binding to another object, it fails. I ended up having to couple my view model to the view to retrieve the property grid and directly set the bound object. Blech!

A better free control is the one included in the Extended WPF Toolkit; it handles the databinding much better, and visually it's nicer too, having picked up a lot of cues from VS 2010's property grid.

Upvotes: 1

Related Questions