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

Wed, 01 Jul 2009 23:43:42 -0600

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

by Free xaml @ Wed, 01 Jul 2009 23:43:42 -0600



If you have experience building 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 control 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: ...