Hide TabControl buttons to manage multiple panels stacked
Posted
by Luca
on Stack Overflow
See other posts from Stack Overflow
or by Luca
Published on 2010-05-09T15:55:35Z
Indexed on
2010/05/09
15:58 UTC
Read the original article
Hit count: 235
I need to handle multiple panels, containing variuous data masks. Each panel shall be visible using a TreeView control.
At this time, I handle the panels visibility manually, by making the selected one visible and bring it on top.
Actually this is not much confortable, especially in the UI designer, since when I add a brand new panel I have to resize every panel and then design it...
A good solution would be using a TabControl, and each panel is contained in a TabPage. But I cannot find any way to hide the TabControl buttons, since I already have a TreeView for selecting items.
Another solution would be an ipotethic "StackPanelControl", where the Panels are arranged using a stack, but I couldn't find it anywhere.
What's the best solution to handle this kind of UI?
© Stack Overflow or respective owner