C# 2.0: Showing Nullable Types in PropertyGrid

  • Thread starter Thread starter Riko Eksteen
  • Start date Start date
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?
 
Back
Top