Menu:

Be notified of new PropertyGrid resources in your RSS reader Subscribe to this list

Mini Tips

Expandable property:
targetting an instance but some of its properties look like they have no child values? The solution relies on the decoration of your properties by a specific attribute.

Read more...

Sponsor of the DailyGrind at Larkware

Hide some members of an enumeration:
yes this is feasible with .Net 2.0. You just need to use the BrowsableAttribute class on the fields you want to hide.

Read more...

This site monitors CodeProject articles

Localize the description:
It takes deriving the DescriptionAttribute class and supply your own DescriptionValue property. This is explained by Microsoft in MSDN.

Read more...

Turn a string into a password:
Just apply a PasswordPropertyText attribute to your string property and voila!

Completeness and Relevancy

Did you see a broken link? Would you like to add a new resource? Please notify us.

For MFC

Smart PropertyGrid for MFC is now distributed free for personal and commercial use.

Links

- StackOverflow
- HanselMinutes
- Joel On Software
- WorkHappy
- LifeHacker

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.

Getting the most out of the Propertygrid

This article, hosted at MSDN, will give you all the basics to understand the classes involved in the management of the PropertyGrid. It reviews all the things you should know, from the use of attributes to the TypeConverters. This reading is a must. Read more...

User Interface Type Editors Overview

Nice introductory article from Microsoft if you are into developing your own editors for complex property types. It's like a step by step guide and will tell you what to derive from and what to override. 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...

Creating property editors (UITypeEditor helper)

A helper class in a CodeProject article that enables to easily create a new modal or dropdown UITypeEditor. Read more...

An editor for string collections

There is a nice post in the newsgroups about how to avoid the "Constructor on type system.string not found" when editing a collection of strings. This is a question often asked so it is worth reading the two proposed solutions. Read more...