Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
How to hide TabPage when double-clicking a tab in tabcontrol?


Now I have a tabcontrol as a top menu, I want to add a new feature to the tabcontrol, Double-click the tab to hide the TabPage,
my initial design was to double-click the Tab to make the height of the Tabpage become 0 to hide the TabPage.
But now I dockeded the tabControl to the top by UltraDockManager, I can't hide DockArea.
How can I achieve this?