Image tap event in ListView windows store app
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am developing my first application in windows 8 for WinRT. my application is implemented with one listview and listview contains two image control i want to add tap event on image control when image tapped then that image's visibility gets Collapsed and another image's visibility gets visible. My code= <ListView Name="display" ItemsSource="{Binding}" > <ListView.ItemsPanel> <ItemsPanelTemplate> <StackPanel Orientation="Horizontal" /> </ItemsPanelTemplate> </ListView.ItemsPanel> <ListView.ItemTemplate> <DataTemplate> <StackPanel Orientation