i'm using a propertygrid to show / edit values of a class that i have.
I'm using the new(er) nullable types and it's showing the value of
these items as empty (as i would think), but the propertygrid doesn't
seem to associate the proper editing control.
for example: i have:
DateTime? _actualReceivedDate;
.....
[CategoryAttribute("Dates"),
DescriptionAttribute("Actual date mail was received by customer")]
public DateTime? ActualReceivedDate
{
get
{
return _actualReceivedDate;
}
set
{
_actualReceivedDate = value;
}
}
....
it displays this item in the property grid properly, but when you edit
the item, it doesn't display the standard DateTime editor that it would
with the DateTime type. Can i get around this?
Thanks in advance!