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

            base.OnNavigatedTo(e);
        }