I have a user control, and by default the Text Property isnt visible in the designer. I'd like it to be.
So I override the property thus:
public override string Text
{
get
{
return base.Text;
}
set
{
base.Text = value;
}
}
and decided to make it Browsable(true)
Which works great - its there and visible in the designer. However, while I can now see the text property and can edit it, the changes do not persist - ie i add some text, and then hit F6 to build and the Text gets reset to empty. Is there something obvious I'm missing here?
Thanks for the help and Happy New year!