コード例 #1
0
 private void OnItemClick(SampleOrder clickedItem)
 {
     if (clickedItem != null)
     {
         _connectedAnimationService.SetListDataItemForNextConnectedAnimation(clickedItem);
         _navigationService.Navigate(PageTokens.ContentGridDetailPage, clickedItem.OrderID);
     }
 }
コード例 #2
0
 public override void OnNavigatingFrom(NavigatingFromEventArgs e, Dictionary <string, object> viewModelState, bool suspending)
 {
     base.OnNavigatingFrom(e, viewModelState, suspending);
     if (e.NavigationMode == NavigationMode.Back)
     {
         _connectedAnimationService.SetListDataItemForNextConnectedAnimation(Item);
     }
 }
コード例 #3
0
        private void OnsItemSelected(ItemClickEventArgs args)
        {
            var selected = args.ClickedItem as SampleImage;

            ImagesNavigationHelper.AddImageId(ImageGalleryViewSelectedIdKey, selected.ID);
            _connectedAnimationService.SetListDataItemForNextConnectedAnimation(selected);
            _navigationService.Navigate(PageTokens.ImageGalleryViewDetailPage, selected.ID);
        }
コード例 #4
0
 public void OnItemSelected(SampleOrder clickedItem)
 {
     if (clickedItem != null)
     {
         _connectedAnimationService.SetListDataItemForNextConnectedAnimation(clickedItem);
         _navigationService.Navigate(typeof(ContentGridDetailPage), clickedItem.OrderID);
     }
 }
コード例 #5
0
 public void OnImageSelected(SampleImage image)
 {
     ImagesNavigationHelper.AddImageId(ImageGallerySelectedIdKey, image.ID);
     _connectedAnimationService.SetListDataItemForNextConnectedAnimation(image);
     _navigationService.For <ImageGalleryDetailViewModel>()
     .WithParam(v => v.ID, image.ID)
     .Navigate();
 }
コード例 #6
0
 public void SetListDataItemForNextConnectedAnimation()
 {
     _connectedAnimationService.SetListDataItemForNextConnectedAnimation(Item);
 }