简体   繁体   中英

Any automatically expandable/collapsable control in WPF, windows Form

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM