protected override void OnMouseLeave(MouseEventArgs e) { if (Interaction.AllowMouseLeave(e)) { Interaction.OnMouseLeaveBase(); } }
/// <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 (_interactionHelper.AllowMouseLeave(e)) { _interactionHelper.UpdateVisualStateBase(true); } base.OnMouseLeave(e); }