A、Create a template. Declare a VisualState element in the template.
B、Create a StoryBoard animation. Add an EventTrigger class to the Button control that begins the StoryBoard animation.
C、Create a ScaleTransform class. Bind the ScaleX and ScaleY properties of the Button control to the Background property by using a custom value converter.
D、Add a method named ChangeAppearance in the code-behind file. Subscribe the ChangeAppearance method to the MouseEnter event of the Button control.