0

I'm developing a Windows Phone 8 application. In this, I want to add tilt-effect to all my controls (Button, LongListSelector, etc). Could you please tell me how to add tilt effect in Windows Phone 8 Application controls?

Abbas
  • 14,186
  • 6
  • 41
  • 72
user2636874
  • 889
  • 4
  • 15
  • 36

2 Answers2

3

Try putting TiltEffect.IsTiltEnabled="true" in the Longlistselector.

<toolkit:LongListSelector Name="resultList" Grid.Row="1"
            DataContext="{StaticResource viewModel}"
            ItemTemplate="{StaticResource ResultItemTemplate}"
            ItemsSource="{Binding TwitterCollection}"
            ListFooter="{Binding}"
            TiltEffect.IsTiltEnabled="true"/>

Add this in the constructor of the cs page of your xaml.

TiltEffect.TiltableItems.Add( typeof( LongListSelector ) );

This will work.

Ramesh
  • 415
  • 7
  • 16
0

Please do a little more research yourself, a simple Google-search got me this:

And from that article, you can go to:

Abbas
  • 14,186
  • 6
  • 41
  • 72