Tag Archives: EventTrigger

Animate a rectangle moving along a path in WPF and C#

This example shows how to use a WPF storyboard to animate a rectangle moving along a path. You can do this all in XAML code, although it’s pretty complicated. The main window contains a Canvas that contains the red path … Continue reading

Posted in animation, wpf | Tagged , , , , , , , , , , , | Leave a comment

Make a blinking label in WPF and C#

In Windows Forms, it’s trivial to make a blinking label. As for most other tasks, WPF makes this much harder but gives you some extra flexibility. In Windows Forms, you could add a Timer to a form and make it’s … Continue reading

Posted in animation, controls, wpf, XAML | Tagged , , , , , , , , , , , , , , , , , | 3 Comments