I use the Tilt Effect provided by Microsoft
I want a generic way to change the background when an element is touched. The tilt effect uses FrameworkElement
since all Control
inherit from it. But if I want to change the background of any element, I need to access the Background
property...
Do you think there is a way for me to modify the sample so I can add this behavior ?
edit : if it's not possible by modifying the Tilt Effect code how could I write something generic enough so I don't have to change the Visual State of every element