Propertygrid validating

Rated 3.86/5 based on 585 customer reviews

As old as it may look, it works so well and does it job so nicely! In the end, I've decided to use this in my Wpf application regardless of the oddity it brings.

Clearly, functionality is a lot more important and since beauty lies in the eyes of the beholder, it's a subjective matter.

in case its not clear, when using the control, this is what you want to attempt : Notice the explicit Width and Height above. Keep reading the article on msdn I link to above, it has some pretty good information.

And a small correction to the article, it's not entirely true that you cannot style the property grid.

I thought I'd get close by having a keydown handler, examining the attributes of Selected Item to see if it requires a Smart Editor, but I still can't figure out where to put the Smart Editor, I tried Context Strip Menu Location, but that's miles away, there's a Tool Tip location but I can't figure out how to attach a Tool Tip to a PG cell, so it's always off the planet (i.e. Of course where I'd like to put in is at the cell location in the scrollable control on which the PG rides - but that info seems beyond reach.I hope I'm not alone in having a philosophical prejudice against using Exceptions to signal a user error.Ive looked at some Property Grid extenders but none of them seem to have tackled this issue.You can do some basic styling of the Winforms Property Grid.What you cannot do is enjoy a complete designer experience like you can currently with WPF controls.

Leave a Reply