How to set default properties for subclassed controls

M

Michael Rodriguez

If I subclass TextBox and add my own new properties, how do I set their
default values? I tried assigning them in the default constructor, but they
still show as bold in the object inspector and they still get assigned in
the code-behind file, neither of which would be the case if they had
"default" values.

TIA,

Mike Rodriguez
 

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

Top