Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Turn off WPF default UI animations (checkbox etc.)

Tags:

wpf

I am intending to use the default Aero theme but am unhappy with the fade-in that happens when checking a checkbox as well as some of the other 'flashy' effects like the button pulses.

Is there a way to turn off these effects / animations without re-templating the controls?

Thank you kindly.

like image 271
Andrew Hanlon Avatar asked Dec 20 '10 14:12

Andrew Hanlon


Video Answer


1 Answers

The short answer is no. These are the default effects used when the system theme is Aero (i.e Windows 7 and Vista).

You would have to perform some sort of re-styling or re-templating to remove the elements that include these animations (i.e. the controls in Presentation.Aero).

You could explicitly load a different theme, such a Luna, Royale, or Classic. But, then you'd lose the Aero look. This blog explains how to explicit load the Aero theme, but you can replace that with one of the others.

like image 86
CodeNaked Avatar answered Nov 17 '22 16:11

CodeNaked