Hide property from properties page

  • Thread starter Thread starter Stanley
  • Start date Start date
S

Stanley

I created a inherited TextBox control and added new properties and methods
into it.
There is a read only property which I don't want it to be showed in the
properties page at design time since it is read only.
Is there any way to do it?
Is the <DesignTimeVisibleAttribute> can hide the property?
 
I created a inherited TextBox control and added new properties and
methods into it.
There is a read only property which I don't want it to be showed in
the properties page at design time since it is read only.
Is there any way to do it?
Is the <DesignTimeVisibleAttribute> can hide the property?

I think you want the <Browsable(False)> attribute instead.

Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top