docking control similar to visual studio

后端 未结 2 1429
暖寄归人
暖寄归人 2021-02-10 08:55

Im looking for a docking control similar to visual studio. [For use in a c# program]

I\'ve played around alot with the Weifen-Luo\'s Docking Library, which works great b

相关标签:
2条回答
  • 2021-02-10 09:28

    I was able to make it work With the Free Weifen-Luo's Docking Library.

    you can simply add your dock panel to a user control or a tab control or any other type of container.

    Controls.Add(dockPanel);
    

    The one thing that was missing was that in order to use the DockStyle.Document you must have the following line of code:

    dockPanel.DocumentStyle = DocumentStyle.DockingWindow;
    

    This allows DockStyle.Document to be used with something other then an MDI interface.

    0 讨论(0)
  • 2021-02-10 09:35

    For WPF, I can recommend AvalonDock. It's also used by SharpDevelop:

    http://avalondock.codeplex.com/

    0 讨论(0)
提交回复
热议问题