RibbonApplicationMenu: getting rid of the AuxiliaryPane
It so happened that the application I'm working on doesn't operate on documents, so there's no need in displaying the recently opened documents list in the application menu. But - annoyingly - there are no properties readily available in the RibbonApplicationMenu class to hide the unused AuxiliaryPane (for which, curiously, the property does exist, but is marked as "internal"). Of course, I can just leave it there - but that's... untidy. So, here's the solution I came up with. Hope it will be helpful for anyone else :-) The general idea is to subclass the RibbonApplicationMenu , find the