Disable hide tabs

Nov 4, 2014 at 9:30 PM
hello
How do you disable the function that hides the tabs?
when you double click on the tab is all the tabs are hidden, how can I disable this function?

thank
Coordinator
Nov 19, 2014 at 4:20 AM
there is no feature like you describe. you must have code in the double-click event that is hiding the tabs. try double-clicking on any tab in the demo app. Nothing will happen
Nov 23, 2014 at 2:27 PM
by default double clicking a tab's header will minimize it, where is the code behind the double-click event?
Coordinator
Dec 20, 2014 at 2:20 AM
Minimise is performed in 'OnMouseDoubleClick' in 'Ribbon.cs':
        protected override void OnMouseDoubleClick(MouseEventArgs e)
        {
            base.OnMouseDoubleClick(e);

            if (OrbBounds.Contains(e.Location))
            {
                OnOrbDoubleClicked(EventArgs.Empty);
            }

            if (Tabs.Count != 1 || Tabs[0].Invisible == false)
            {
               foreach (RibbonTab tab in Tabs)
               {
                  if (tab.Bounds.Contains(e.Location))
                  {
                     this.Minimized = !this.Minimized;
                     break;
                  }
               }
            }
        }
Marked as answer by Stumpii on 1/9/2015 at 4:50 AM