LongListSelector: Item tap?

后端 未结 6 756
执念已碎
执念已碎 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

     private void Item_tap(object sender, RoutedEventArgs e)
            {
                var element = (FrameworkElement)sender;
                DataSource data = (DataSource)element.DataContext;
    
    
            }
    

提交回复
热议问题