public PointView() { InitializeComponent(); this.dragFinishedBehavior.DragFinished += new System.Windows.Input.MouseEventHandler(dragFinishedBehavior_DragFinished); StaticAnimation.RepeatBehavior = RepeatBehavior.Forever; StaticAnimation.Begin(); }
private void UserControl_LostFocus(object sender, System.Windows.RoutedEventArgs e) { FocusAnimation.Stop(); BackToNormal.Begin(); StaticAnimation.Begin(); }