We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Design-time support

I've got a class derived from System.Windows.Forms.Control. I've added some design-time support and would like to customize the appearence of the design surface (for example change its back color, or draw a custom grid). I understand one should implement the IRootDesigner interface, or derive a new class from, say DocumentDesigner, but I'm a bit lost and all my attempts to do so result in exceptions thrown at design time with ugly error messages such as "error loading the document...". If anyone knows how to implement this, any help would be welcome. thank you in advance

Live Chat Icon For mobile
Up arrow icon