quinta-feira, 30 de outubro de 2008 18:34I'm working on an application which has a common window hierarchy with menus and worked ok on vs2003, but now I'm on VS2008 sp1 trying to generate the same hirarchy and I'm amazed that visual support for differents controls like the menustrip are not working. I've been investigating, and so far it seems that the answer to my question is "it's not supported". I woul like to know if there's a workaround for this or how can I take a different approach to achieve this behavior. Hopefully any of you have gone through this problem... and have and answer.
Todas as Respostas
domingo, 26 de abril de 2009 20:44Yes, it can not be done
- Sugerido como Resposta Luxspes domingo, 26 de abril de 2009 20:46
domingo, 26 de abril de 2009 20:51How to enable visual inheritance for Developer Express controls when using them in Visual Studio 2005 or in Visual Studio 2008
Thanks, A.m.a.L | [Remember to click "mark as answered" when you get a correct reply to your question]
segunda-feira, 21 de maio de 2012 01:53
Microsoft have disabled Visual Inheritance for ToolStrip controls for reasons that could have easily been solved (in my opinion).
They claim it would take too much effort to manage the child control collection over an inheritance hierarchy. But they could've easily made it so you just merge separate collections into one at load-time, achieving the same result but by-passing all the issues.
I have developed some controls that do exactly that, and the result is essentially Visual Inheritance for MenuStrip, ToolBarStrip and StatusStrip Controls.
The source is available free of charge.
segunda-feira, 21 de maio de 2012 02:40Yes it can, see this link.