I am working on a Windows Phone 8.1 Runtime app and have a ListView to display data on a detail page. The problem is that by default the tilt animation is enabled. This is not wanted because it gives visual feedback to the user that something should happen when the object is tapped.
To disable this behavior we need to create a copy of the default style of the ListView as follows:
Right click on the ListView in the designer and then select: Edit Additional Templates, Edit Generated Item Container (ItemContainerStyle), Edit a Copy…
A copy of the default style will be placed in your XAML.
Find the PointerUpThemeAnimation and PointerDownThemeAnimation Storyboards and remove them (or comment them out if you prefer):
<VisualStateGroup.Transitions> <VisualTransition From="Pressed" To="Normal"> <!--<Storyboard> <PointerUpThemeAnimation Storyboard.TargetName="TiltContainer" /> </Storyboard>--> </VisualTransition> </VisualStateGroup.Transitions> <VisualState x:Name="Normal" /> <VisualState x:Name="Pressed"> <!--<Storyboard> <PointerDownThemeAnimation Storyboard.TargetName="TiltContainer" /> </Storyboard>--> </VisualState>