There is a need to translate UserControl into a blinking state. At first one flashes, then along with it the others start to blink (all should flash at the same time).
Currently, UserControl contains the following method:
private void LaunchAnimation() { var blinkAnimation = new DoubleAnimationUsingKeyFrames(); blinkAnimation.KeyFrames.Add(new DiscreteDoubleKeyFrame(1, KeyTime.FromTimeSpan(TimeSpan.FromMilliseconds(0)))); blinkAnimation.KeyFrames.Add(new DiscreteDoubleKeyFrame(0, KeyTime.FromTimeSpan(TimeSpan.FromMilliseconds(250)))); var blinkStoryboard = new Storyboard { Duration = TimeSpan.FromMilliseconds(SettingsMaster.AnimationFrameDuration), RepeatBehavior = RepeatBehavior.Forever, }; Storyboard.SetTarget(blinkAnimation, this.Control); Storyboard.SetTargetProperty(blinkAnimation, new PropertyPath(Canvas.OpacityProperty)); blinkStoryboard.Children.Add(blinkAnimation); blinkStoryboard.Begin(); } But in this case the animation of different elements is not coordinated and they blink apart. The problem is that when there are a lot of them (maybe 100 or more), it looks very vyrviglazno. How to make them blink synchronously? Is it possible to somehow implement the container, when placed in which the general animation would be applied to them?