开发者

Creating a new or extending an existing SplitContainer

Actually, I think I would prefer to simply extend the existing SplitContainer control for winforms.

What I would love is to add my own SplitContainer from the toolbox, and then add as man开发者_JS百科y more panels to it as needed. And remove as needed.

Something like this:

Creating a new or extending an existing SplitContainer

How would one begin extending the SplitContainer?


why don't you just use Panelcontrols with Dockstyle and Splittercontrols?

if you realy want to write your own Splittcontainer you have to write the Control itself, the ParentControlDesigner and a DesignerActionList.


Is it legal to answer old question?

What I'm suggesting is using TableLayoutPanel since it can be added more column and rows as per needed. And you can add panel and set properties of the item inside the layout to dock fill.

Edit column with percent, autosize based from content size or absolute fixed pixel

Click on tiny arrow on TableLayoutPanel to open the layout configuration

Normal windows

Maximized windows

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜