H
Herman herman
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. However, it is possible to
avoid these issues by simply merging separate collections into one at
load-time, achieving the same result.
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:
http://www.sphere10.com/articles/1/Visual-Inheritance-For-ToolStrip-Controls
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. However, it is possible to
avoid these issues by simply merging separate collections into one at
load-time, achieving the same result.
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:
http://www.sphere10.com/articles/1/Visual-Inheritance-For-ToolStrip-Controls