How to set default properties for subclassed controls

  • Thread starter Thread starter Michael Rodriguez
  • Start date Start date
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
 
Back
Top