WPF - what is the best way to implement a panel that hides?
Question
I have a main application window that also implements a dock panel. At the bottom of one of the existing dock panels, I want to add a window that the user can hide or view at will. What's the best way to implement this? I can envision most of the code behind this, I just need to figure out the appropriate control for this window to appear when needed but still be discretely available.
Solution
An Expander control might be what you are looking for. This is a ContentControl so you can use whatever Panel you want as the content.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow