/// <summary> /// Provides handling for the MouseLeave event. /// </summary> /// <param name="e">The data for the event.</param> protected override void OnPointerCaptureLost(Windows.UI.Xaml.Input.PointerRoutedEventArgs e) { if (_interaction.AllowMouseLeave(e)) { _interaction.OnMouseLeaveBase(); base.OnPointerCaptureLost(e); } }
/// <summary> /// Provides handling for the MouseLeave event. /// </summary> /// <param name="e">The data for the event.</param> protected override void OnMouseLeave(MouseEventArgs e) { if (_interaction.AllowMouseLeave(e)) { _interaction.OnMouseLeaveBase(); base.OnMouseLeave(e); } }