LongListSelector: Item tap?

后端 未结 6 735
执念已碎
执念已碎 2020-12-02 20:39

I am using LongListSelector control on Windows Phone 8 and can\'t figure out the best way to handle a tap on an item. The few examples I\'ve found rely on the SelectionChang

6条回答
  •  情歌与酒
    2020-12-02 20:58

    In addition to halil´s answer:

    First of all you need to install the Windows Phone Toolkit (WPtoolkit) by NuGet. Than add the namespace declaration on the PhoneApplicationPage.

    xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
    

    After this you can add toolkit:TiltEffect.IsTiltEnabled="True" to the control definition.

    It is nice documneted by NOKIA: http://developer.nokia.com/community/wiki/Tilt_Effect_for_Windows_Phone

    Oliver

提交回复
热议问题