private async void OnExecuteSampleCommand(PhotoDataItem item) { await new MessageDialog($"You clicked {item.Title} via the 'ListViewExtensions.Command' binding", "Item Clicked").ShowAsync(); }
protected override void OnNavigatedTo(NavigationEventArgs e) { item = e.Parameter as PhotoDataItem; base.OnNavigatedTo(e); }