Hi,
>Hurrah!
Looks like you got there ! :-)
>
><DefaultValue(GetType(System.Drawing.Size), "0, 0")> Public Shadows Property ItemSize() As System.Drawing.Size
> Get
> Return MyBase.ItemSize
> End Get
> Set(ByVal Value As System.Drawing.Size)
> MyBase.ItemSize = Value
> End Set
> End Property
>
>
>Viv you lost me a little here... "How do you determine the valid string value for the converter - is it documented anywhere? I know that in this case it's probably reasonably obvious - just wondering about the more general case."
See Neil's reply. For the DefaultValue() to work you would need to know the correct format for the string value (i.e. "0,0" in this case) which is, as Neil says, guessable for a size structure - but the string format could be much more complex for other type conversions...
Regards,
Viv