コード例 #1
0
        private void AnimalGaleriaPage_Loaded(object sender, RoutedEventArgs e)
        {
            var viewModel = new PhotosViewModel();
            DataContext = viewModel;

            PhotoHubLLS.ScrollTo(PhotoHubLLS.ItemsSource[1]);
        }
コード例 #2
0
        // ---

        private void AnimalGaleriaPage_Loaded(object sender, RoutedEventArgs e)
        {
            var viewModel = new PhotosViewModel();
            DataContext = viewModel;
        }