Pressing Alt to activate the KeyTips and then Alt+Tab leads to NullReferenceException (especially on slower machine ) Available in LIB version: 2017.2.605
The title bar has a fixed White Background set. The workaround is to set the TitleBackground of RadRibbonView to Black.
The feature should be similar to the TabStripAdditionalContent(https://docs.telerik.com/devtools/wpf/controls/radribbonview/how-to/howto-additional-content-near-help-icon) of RadRibbonView and RadTabControl. It would be useful to include additional information and functionality like in the MS Office tools. For example the Outlook app (check the attached image).
As a workaround, you can set the FocusVisualStyle of the DropDownPopupContent element in the template of the RadRibbonDropDownButton to null or add an implicit style for ContentControl setting the FocusVisualStyle to null.
The issue is reproducible in Fluent theme as well.
The current workaround is to handle the RadTabItems' PreviewMouseLeftButtonDown event like so: public MainWindow() { InitializeComponent(); EventManager.RegisterClassHandler(typeof(RadRibbonTab), PreviewMouseLeftButtonDownEvent, new MouseButtonEventHandler(OnClick), true); } private void OnClick(object sender, MouseButtonEventArgs e) { var tab = sender as RadRibbonTab; var ribbon = tab.ParentOfType<RadRibbonView>(); if (ribbon.IsApplicationMenuOpen) { ribbon.SelectedItem = tab; } }
The attached project demonstrates a possible approach for handling this - by editing RadRibbonWindow's control template and specifying a converter for the PART_Icon Image's Width and Height bindings. The converter in turn takes into account the DPI of the current monitor.
In the Crystal theme, the TitleBarBackground property is set through a style trigger to a static value. This leads to an unexpected result in the dark variation of the theme.
As a workaround you can use the following style:
To reproduce this:
To work this around, avoid setting the IsAutoSize property. Or use smaller pictures - 16 or 32 pixels.