Hi,
In my Windows Forms custom control, I have a property which is of type Form.
Hence, when the control is displayed in the Properties window of VS.NET, a
plus (+) button is shown next to that property's row, indicating it is
expandable. I don't want that to happen. Is there any Attribute class that I
can set on the property to disable the undesired behavior ?
Thanks in advance.
Dotnetjuny
Stoitcho Goutsev \(100\) [C# MVP] - 20 Sep 2004 14:31 GMT
Hi Dotnetjunky,
You can set [Browsable(false)] to that property and you won't see the
property in the browser.

Signature
HTH
Stoitcho Goutsev (100) [C# MVP]
> Hi,
>
[quoted text clipped - 9 lines]
>
> Dotnetjuny
Dotnetjunky - 21 Sep 2004 02:33 GMT
Yes, I know this attribute. But I still want to display this property, just
not to let people expand the property and modify all the sub-properties of
it. Can this be done ?
Thanks for your reply.
"Stoitcho Goutsev (100) [C# MVP]" wrote:
> Hi Dotnetjunky,
>
[quoted text clipped - 14 lines]
> >
> > Dotnetjuny