Hi,
I have a control with a property that is inherited from the Collection type:
public class MyCoolCollection : Collection<SomeType>
{
private string m_TestString;
public string TestString
{
get { return m_TestString; }
set { m_TestString = value; }
}
}
and when I drop this control onto the form, winforms designer generates code for that control's property (collection items actually) but excluding the TestString property. The collection property has the DesignerSerializationVisibility.Content attribute applied so the designer should serialize all public properties including TestString.
Any ideas?
Thanks in advance.