I have a listView that has an Image in every listViewItem. I have 2 events: ItemClick on the ListView and Tapped on the Image. By default isItemClickEnabled is false in the listView, when it is false: the tap Image event works but not the ItemClick. When I set it to true: I tried setting e.OriginalSource in the ItemClick event, but it is always a ListView even when click on the Image: ItemClick works but not the tap Image event.
ItemClick event:
private void listView_ItemClick(object sender, ItemClickEventArgs e)
{
if (e.OriginalSource is Image)
(e.OriginalSource as Image).Tapped += image_Tapped;
else
Frame.Navigate(typeof(nextPage), e.ClickedItem as Prayer);
}
Anything I'm doing wrong?