Troelsen's Tutorials: The Quickest Custom Control You'll Ever Make by Free xaml

Sun, 28 Jun 2009 00:00:43 -0600

Troelsen's Tutorials: The Quickest Custom Control You'll Ever Make

by Free xaml @ Sun, 28 Jun 2009 00:00:43 -0600



If you have experience building custom WPF templates, you know that event triggers commonly execute a custom animation of some sort. For example, you could shrink the size of OddButton when the MouseDown event fires, paint the background with a new brush, ... Now, run your application! You should be able to see your change its size when you click the OddControl user control. This is possible thanks to the following markup, rendered free of charge by the Blend IDE: ...