Ejemplo n.º 1
0
 protected override void OnMouseLeave(MouseEventArgs e)
 {
     IconLight.BeginAnimation(OpacityProperty, new DoubleAnimation(0, new Duration(TimeSpan.FromSeconds(0.2))));
     //Sel_Rectangle.Visibility = System.Windows.Visibility.Collapsed;
     base.OnMouseLeave(e);
 }
Ejemplo n.º 2
0
 protected override void OnMouseEnter(MouseEventArgs e)
 {
     //Sel_Rectangle.Visibility = System.Windows.Visibility.Visible;
     IconLight.BeginAnimation(OpacityProperty, new DoubleAnimation(1, new Duration(TimeSpan.FromSeconds(0.2))));
     base.OnMouseEnter(e);
 }