Q
Qubeczek
Hello,
I have some control delivering form UserControl.
I'd like to hide oryginal property "Text". And I do it.
new public string Text
{
set
{
base.Text = value;
SetAutoSize(AutoSize);
}
get
{
return base.Text;
}
}
But the problem I have, is that this property is not shown in "Properties"
grid during designin form that using my control.
Under desktop .NET it works fine.
I have try attribute:
[System.ComponentModel.EditorBrowsable]
before the property definition, but it dosen't work.
I use the same project for run-time and design-time (couse I don't know, how
to build separate ones).
The question is: how to make may new "Text" property visible and editable in
designer property grid ?
Thanks for help
Qubeczek
I have some control delivering form UserControl.
I'd like to hide oryginal property "Text". And I do it.
new public string Text
{
set
{
base.Text = value;
SetAutoSize(AutoSize);
}
get
{
return base.Text;
}
}
But the problem I have, is that this property is not shown in "Properties"
grid during designin form that using my control.
Under desktop .NET it works fine.
I have try attribute:
[System.ComponentModel.EditorBrowsable]
before the property definition, but it dosen't work.
I use the same project for run-time and design-time (couse I don't know, how
to build separate ones).
The question is: how to make may new "Text" property visible and editable in
designer property grid ?
Thanks for help
Qubeczek