Won't Fix
Last Updated: 08 Aug 2023 15:02 by ADMIN
Stenly
Created on: 21 Jun 2023 14:58
Category: ScheduleView
Type: Bug Report
1
ScheduleView: Appointment's tooltip is shown on top of all applications when the collection bound to the AppointmentsSource is changed
When the collection bound to the AppointmentsSource property is cleared and filled with data again, the tooltip of one of the appointments could become visible and it will be displayed on top of all applications.
1 comment
Petar
Posted on: 08 Aug 2023 15:02
When the selected item is removed, new current and selected Appointment is set. When new selection is performed, Scheduleview focuses the selected container and MsToolTip opens when the container with tooltip receives keyboard focus. 
Workaround for tis behavior is to suspend notifications when removing selected apps one by one:

         RadObservableCollection<Appointment> apps = new RadObservableCollection<Appointment>();
....

            updateTimer.Tick += (s, e) =>
            {
                Application.Current.Dispatcher.Invoke(() =>
                {
                    apps.SuspendNotifications();
                    apps.Remove(appo1);
                    apps.Remove(appo2);
                    apps.Remove(appo3);

                    apps.Add(appo1);
                    apps.Add(appo2);
                    apps.Add(appo3);
                    apps.ResumeNotifications();
                });