Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Split design time support to a separate assembly #42
DockPanel Suite assembly contains a reference to System.Design, and some classes are especially for design time support.
This prevents users from using it in a project that targets client profile (.NET 3.5/4).
We can split such design time support to a separate assembly.
I did the same for Crad's ActionList,
I believe the purpose is to prevent controls from being parented by the dockpanel via the designer. For example, currently if you drop a control on top of a dockpanel it will not be added to the dockpanel's controls. The designer attribute is overriding the PanelDesigner set on the base class, which will allow you to drop a control onto the dockpanel itself (as you could with any panel).
So the purpose of the designer attribute here is desired, although I wonder if it can be accomplished another way.
According to this page, we should be able to replace
Can you test it? @roken