Malfunction Posted June 4, 2004 Posted June 4, 2004 I want to use controls derived from standard controls (e.g. RadioButton, ChackBox) as User Controls in order to show them in the forms designer. When I add a new user control and change it's inheritance to e.g. RadioButton the Radiobutton will appear during runtime but not in the designer. The designer only shows an empty user control. Is there a way to show an inherited control in the designer? Quote Debug me...
*Gurus* divil Posted June 6, 2004 *Gurus* Posted June 6, 2004 Not automatically. The best way is to create your control, build your project, put a normal radio button on your form and then edit the designer-generated code so it declares and instantiates your own type. Switching back to the design view will then show your control. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.