How to add tilt effect to LongListSelector?

696 views Asked by At

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?

2

There are 2 answers

0
Ramesh On

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.

0
Abbas On

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

And from that article, you can go to: