Apply Pointer up/down effect to windows phone 8.1 app
I've migrated my windows phone 8 app to windows phone 8.1 runtime. Apparently the tilt effect is included. How would I add this to a custom control? Thanks, Hence you are targeting rintime, you may look at Windows.UI.Xaml.Media.Animation classes and espestially: PointerDownThemeAnimation and PointerUpThemeAnimation - there are simple examples there. Mostly what you have to do is put those animations into VisualStates and VisualTransitions, simple example can look like this: <Style x:Key="myControl" TargetType="Button"> <Setter Property="Padding" Value="0,0"/> <Setter Property="Template">