开发者

Creating a WPF property grid?

Where would I start looking if I wanted to 开发者_C百科create my own property grid control in WPF?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜