Let DoubleValue be a wrapper type around a Double, with an attached TypeConverter that knows how to convert from/to Double. And suppose that we have a GridViewDataColumn bound, via DataMemberBinding, to a property of this type. Pasting numeric strings to this column doesn't work, internally generating an InvalidCast exception.
To me this looks like a bug, the column is ignoring the attached type descriptor. It should be doing
To me this looks like a bug, the column is ignoring the attached type descriptor. It should be doing
System.TypeDescriptor.GetConverter(...).ConvertFrom(...)