private void SetHighlightedSchedules(ViewItemSchedule[] desiredHighlighted)
        {
            ViewItemSchedule[] toUnhiglight = _currentlyHighlighted.Except(desiredHighlighted).ToArray();
            if (toUnhiglight.Length > 0)
            {
                UnhighlightRequested?.Invoke(this, toUnhiglight);
            }

            _currentlyHighlighted = desiredHighlighted;
            HighlightRequested?.Invoke(this, _currentlyHighlighted.ToArray());
        }
 private void EditingScheduleClassTimeListViewItem_PointerExited(object sender, PointerRoutedEventArgs e)
 {
     _currPointerFocusedElement = null;
     UnhighlightRequested?.Invoke(this, _currentlyHighlighted);
     _currentlyHighlighted = new ViewItemSchedule[0];
 }
 private void UserControl_PointerExited(object sender, PointerRoutedEventArgs e)
 {
     _currPointerFocusedElement = null;
     UnhighlightRequested?.Invoke(this, _currentlyHighlighted);
     _currentlyHighlighted = new ViewItemSchedule[0];
 }