Custom control design woes
- From: Charles Jenkins <not.my.address@xxxxxxxxxxxx>
- Date: Thu, 24 Aug 2006 16:53:04 -0400
If I create a new UserControl and set up its properties (color and width, for example), it looks just like I want it when I am viewing the control.
If I recompile, the control appears in the Toolbox.
If I drag an instance of the control onto my form, it gets added, but all the properties I set up are ignored: I get the same blank box you see when you originally tell VS2005 to create the control's class.
Why does the designer allow you to set up your custom control's properties, and then ignore them when you try to use the control?
What can I do to fix this?
.
- Follow-Ups:
- Re: Custom control design woes
- From: Michael Powell
- Re: Custom control design woes
- Prev by Date: syntax highlighting
- Next by Date: Listbox with buttons
- Previous by thread: syntax highlighting
- Next by thread: Re: Custom control design woes
- Index(es):