/// <summary> /// This method is invoked when the mouse enters the rating item. /// </summary> /// <param name="e">Information about the event.</param> protected override void OnMouseEnter(MouseEventArgs e) { if (Interaction.AllowMouseEnter(e)) { Interaction.UpdateVisualStateBase(true); } base.OnMouseEnter(e); }
/// <summary> /// Provides handling for the MouseEnter event. /// </summary> /// <param name="e">Event arguments.</param> protected override void OnMouseEnter(MouseEventArgs e) { if (Interaction.AllowMouseEnter(e)) { Interaction.OnMouseEnterBase(); base.OnMouseEnter(e); } }
/// <summary> /// Provides handling for the MouseEnter event. /// </summary> /// <param name="e">Event arguments.</param> protected override void OnPointerEntered(PointerRoutedEventArgs e) { if (Interaction.AllowMouseEnter(e)) { Interaction.OnMouseEnterBase(); base.OnPointerEntered(e); } }