Unplanned
Last Updated: 19 Aug 2026 09:26 by Martin Ivanov
Martin Ivanov
Created on: 19 Aug 2026 09:26
Category: RibbonView
Type: Bug Report
0
RibbonView: Keyboard arrow selection doesn't select tabs when the content area is minimizable and open

The keyboard arrow selection doesn't select tabs, just moves the focus. This happens when the content area of RadRibbonView is minimizable and open. 

To work this around, manually select the focused tab on key down.

private void RadRibbonView_PreviewKeyDown(object sender, KeyEventArgs e)
{
    var ribbon = (RadRibbonView)sender;
    if (ribbon.IsMinimized && (e.Key == Key.Left || e.Key == Key.Right))
    {
        var focusedHeader = Keyboard.FocusedElement as RadRibbonTab;
        if (focusedHeader != null && ribbon.SelectedItem != focusedHeader)
        {
            ribbon.SelectedItem = focusedHeader;
            e.Handled = false;
        }
    }
}

0 comments