Reset on Style Property does not change design View

J

jim

I have a WebControl that contains several label and TextBox controls. I also
implemented a ControlDesigner for this WebControl. Both control classes
(Labels
and TextBoxes) define separate styles: LabelStyle, and TextBoxStyle style
properties.

When I change the Font Size to “Large†on any of the styles the change takes
effect in the appropriate area. Now when I right-click the Font for the
context menu then click “Reset†the property resets to the default value.
For the Font property it is blank. The change does not affect the web
control. Using the Font’s property dropdown calls the associated property in
the designer and web control. The Reset context menu choice does not effect
the design. Looks to me that I am missing an event or an overridden On
method functions.

I cannot seem to locate what I am missing, so how do I get the Reset to work?

Jim
 

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

Members online

Forum statistics

Threads
473,756
Messages
2,569,540
Members
45,025
Latest member
KetoRushACVFitness

Latest Threads

Top