J
jonpb
Hi,
I need to have context information in order to convert a string to my
object so that I can use the PropertyGrid control.
TypeConverter.ConvertFrom takes an ITypeDescriptorContext, but I cannot
figure out how to have a custom ITypeDescriptorContext passed to my
TypeConverter implementation from the PropertyGrid. Is this possible, or
am I barking up the wrong tree?
Basically, I have a simple FixedLengthString object which has a string
value and a capacity. In order to convert from a string the
TypeConverter needs to know what the capacity of the source object is.
Thanks
I need to have context information in order to convert a string to my
object so that I can use the PropertyGrid control.
TypeConverter.ConvertFrom takes an ITypeDescriptorContext, but I cannot
figure out how to have a custom ITypeDescriptorContext passed to my
TypeConverter implementation from the PropertyGrid. Is this possible, or
am I barking up the wrong tree?
Basically, I have a simple FixedLengthString object which has a string
value and a capacity. In order to convert from a string the
TypeConverter needs to know what the capacity of the source object is.
Thanks