Unplanned
Last Updated: 12 Mar 2019 09:18 by ADMIN
Vladimir
Created on: 12 Mar 2019 09:17
Category: TabControl
Type: Bug Report
0
TabControl: Incorrect navigation behavior when the control is placed within a BusyIndicator

When the RadTabControl is placed in a RadBusyIndicator, one of the navigation repeat buttons is initially disabled.

As a workaround, you can invoke the ScrollToHorizontalOffset method of the ScrollViewer inside the RadTabControl in a Dispatcher in the Loaded event:

 private void RadTabControl_Loaded(object sender, RoutedEventArgs e)
        {
            var tabControl = sender as RadTabControl;
            var scrollViewer = tabControl.ChildrenOfType<ScrollViewer>().FirstOrDefault();
            Dispatcher.BeginInvoke(new Action(() =>
            {
                scrollViewer.ScrollToHorizontalOffset(5);
            }));
        }
0 comments