How to disable minimizing of Ribbon control from RibbonControlsLibrary?
相关问题
- Sorting 3 numbers without branching [closed]
- Graphics.DrawImage() - Throws out of memory except
- Generic Generics in Managed C++
- Why am I getting UnauthorizedAccessException on th
- 求获取指定qq 资料的方法
The following disabled both the double click on the tab header and 'Minimize the Ribbon' on the context menu for me:
The only way that minimices the control and can't be disabled is a double click on a Tab header, in fact a triple click or more than 2 clicks also minimices the control, this is why my first idea failed (I tryed to cancel the double click event, but the control minimized on the third click).
SO this solution isn't too prety but it works fine, when more than two clicks are detected on the
TabHeaderItemsControl
(this is the control that holds the tabs) then the control is maximized