Esempio n. 1
0
 private void XlyMoveActionBar_PreviewMouseMove(object sender, MouseEventArgs e)
 {
     this.time = 0;
     if (this.Content is FrameworkElement)
     {
         FrameworkElement element = this.Content as FrameworkElement;
         if (element.Visibility == System.Windows.Visibility.Collapsed)
         {
             element.BeginShowWithOpacityAndVisibility(this.ShowOrHideDuration, null);
         }
     }
     if (this.isStop)
     {
         this.timer.Start();
         this.isStop = false;
     }
 }