예제 #1
0
 protected override void OnPointerExited(PointerRoutedEventArgs e)
 {
     base.OnPointerExited(e);
     VisualStateManager.GoToState(this, "Normal", false);
     OnPointExit?.Invoke(DataContext);
 }
예제 #2
0
 protected override void OnMouseLeave(MouseEventArgs e)
 {
     base.OnMouseLeave(e);
     OnPointExit?.Invoke(DataContext);
     Background = _obg;
 }