سؤال

in Visual Studio, when you hover mouse to solution explorer window, it will expand automatically. If you move mouse away, the window collapse automatically. Also the window has a pin so you can pin it. I wonder if there is such control available in WPF or Windows Form or open source? I want to have such thing in my projects. thanks

هل كانت مفيدة؟

المحلول

For Winforms you'll want to take a look at the dockpanelsuite project over at github. It features exactly what you're looking for and indeed the authors cite the Visual Studio docking controls as their inspiration.

I used an early version of the project (from codeproject.com) and had no problems with it but the current github project appears to be actively maintained.

For WPF you'll want to check this out this thread in SO. Among the open source recommendations there is AvalonDock, which I personally don't have experience with. There are a few commericial solutions there as well.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top