/// <summary>
 /// This method is invoked when the pointer leaves the rating item.
 /// </summary>
 /// <param name="e">Information about the event.</param>
 protected override void OnPointerExited(PointerRoutedEventArgs e)
 {
     if (_interactionHelper.AllowPointerExit(e))
     {
         _interactionHelper.UpdateVisualStateBase(true);
     }
     base.OnPointerExited(e);
 }