/// <summary> /// This method is invoked when the mouse leaves the rating item. /// </summary> /// <param name="e">Information about the event.</param> protected override void OnMouseLeave(MouseEventArgs e) { if (Interaction.AllowMouseLeave(e)) { Interaction.UpdateVisualStateBase(true); } base.OnMouseLeave(e); }
/// <summary> /// Provides handling for the MouseLeave event. /// </summary> /// <param name="e">Event arguments.</param> protected override void OnMouseLeave(MouseEventArgs e) { if (Interaction.AllowMouseLeave(e)) { Interaction.OnMouseLeaveBase(); base.OnMouseLeave(e); } }
/// <summary> /// Provides handling for the MouseLeave event. /// </summary> /// <param name="e">Event arguments.</param> protected override void OnPointerExited(PointerRoutedEventArgs e) { if (Interaction.AllowMouseLeave(e)) { Interaction.OnMouseLeaveBase(); base.OnPointerExited(e); } }