C# 2.0: Showing Nullable Types in PropertyGrid

R

Riko Eksteen

I would like to display nullable types in the propertygrid control. This
usally requires a TypeConverter being implented for the specific type. For
example, a BooleanConverter class will allow a True-False dropdown list to
be displayed in the propertygrid.

Beta 1 of C# 2.0 doesn't have type converters for the System.Nullable<T>
type. It is therefore not possible for me to display my nullable bool and
int values in the propertygrid. Will the final version support type
converters for nullable types, and how can I achieve this in the meantime?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top