I tried to hide inherited property in intellisense with EditorBrowsable
(as said here Hiding user control properties from IntelliSense), when testing in client form though I can still see it why ?
[
Category("Main"),
Description("Text"),
Obsolete("Don't use this"),
Browsable(false),
EditorBrowsable(EditorBrowsableState.Never)
]
public override String Text
{
get { return null; }
}
I repro. There is a Note in the MSDN article about this:
In Visual C#, EditorBrowsableAttribute does not suppress members from a class in the same assembly.
Oddly, I don't see it suppress it either when I put the UserControl
in a different assembly in the same solution.
You may want to ping connect.microsoft.com about this, something isn't right.