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