F
Franz
UserControl has overrided the Text property. I can't view it in the
designer. I subclass it and set the Browsable attribute to true. I can see
the Text property now. Although the text becomes bold everytime I modified
it, no code is added to InitializeComponent. What is the problem? Why no
code is generated? What kind of attribute do I need to add?
(I have also added
[Designer("System.Windows.Forms.Design.ParentControlDesigner,
System.Design", typeof(IDesigner))] at the beginning of the subclass of
UserControl.)
designer. I subclass it and set the Browsable attribute to true. I can see
the Text property now. Although the text becomes bold everytime I modified
it, no code is added to InitializeComponent. What is the problem? Why no
code is generated? What kind of attribute do I need to add?
(I have also added
[Designer("System.Windows.Forms.Design.ParentControlDesigner,
System.Design", typeof(IDesigner))] at the beginning of the subclass of
UserControl.)