Introduction
The PropertyGrid control in the .Net environment is one of the controls the most difficult to grasp. Resources are spread all over the web and you will be lucky if you find a solution to your particular problem involving very precise keywords. This web site wants to gather all known and less known resources about this powerful control and on various subjects. Tags will help classify this amount of informations to help you search what you need. You are very welcome to consult this list, come back to see the last additions (rss feed also available) and submit the resources you found or wrote yourself.
This site also features Smart PropertyGrid.Net, a commercial package that proposes the most powerful alternative to the Microsoft solution. You may want to explore its features and see if it is more suitable for your end-users in terms of customization, flexibility, usability and accessibility.
Bending the .NET PropertyGrid to Your Will
Tony presents on CodeProject one of the most famous articles ever written about the PropertyGrid. His goal was to make the control more usable by introducing the notion of dynamic content. The class PropertyBag, the facade of his framework, handles beautifully this dynamic aspect by hiding all the complexity of PropertyDescriptors. Read more...
.NET matters, ICustomTypeDescriptor, Part 1
Based on a practical example of an autogenerated class that exposes no properties, only public fields, this article explains how the PropertyGrid can be fooled into thinking that each field is actually a property by deriving from ICustomTypeDescriptor and publishing a custom set of properties (PropertyDescriptors). Read more...
.NET matters, ICustomTypeDescriptor, Part 2
This article is an extension of the same one labelled "part 1" but this time focuses on what has been added in the .Net framework 2.0. The class TypeDescriptionProvider is introduced, which allows not to modify an existing target class with the ICustomTypeDescriptor interface code by registering itself as a provider for the target class. Read more...
Customized display of collection data in a PropertyGrid
This CodeProject article, like several other resources, teaches the use of custom type descriptors and type converters with a very practical example. The goal is to display as humanly as possible a collection of employees. Read more...
Globalized property grid
Based on a very practical example where the author's goal is to localize, thanks to the use of resources, the property labels and descriptions, you will again learn a lot about the ICustomTypeDescriptor interface. Read more...