VS2005 Custom Design-time Textbox

P

Peter Hartlén

Hi!

Why doesn't some properties update in Designer view of a TextBox derived
control?

If I add the default textbox the border disappears if I choose BorderStyle =
None. If I choose my custom control, which has no extra functionality only
inherits from TextBox, the border doesn't disappear.

Here are some properties that are not updated in design time:
BorderStyle
Text
Font

Here are some properties that are updated:
BackColor
ForeColor

Why is this?
 

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