Completed
Last Updated: 09 Oct 2018 08:37 by ADMIN
ADMIN
Dilyan Traykov
Created on: 18 Sep 2018 13:58
Category: RibbonView
Type: Bug Report
1
RibbonView: SelectedTab is not set when backstage is open and the ribbon is minimized
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;
            }
        }
1 comment
ADMIN
Ralitsa
Posted on: 09 Oct 2018 08:37
Hi,

The fix will be available in our next official version – R3 2018 SP1, scheduled for 17-th October 2018 (Wednesday).

Best regards,
Ralitsa Kumanova