Beispiel #1
0
        private void NextButton_Click(object sender, RoutedEventArgs e)
        {
            var button = sender as Button;

            currentItem = button.DataContext as AlternativeRoutesPageViewModel.NavigationRouteResult;
            OptionSelected(AlternativeRoutesPageViewModel.OptionSelectedEventArgs.Options.ShowRoute);
        }
Beispiel #2
0
        private void ListItemGrid_Tap(object sender, System.Windows.Input.GestureEventArgs e)
        {
            var grid = sender as Grid;

            currentItem = grid.DataContext as AlternativeRoutesPageViewModel.NavigationRouteResult;
            OptionSelected(AlternativeRoutesPageViewModel.OptionSelectedEventArgs.Options.Drive);
        }
Beispiel #3
0
        private void ListItemGrid_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
        {
            var grid = sender as Grid;

            currentItem = grid.DataContext as AlternativeRoutesPageViewModel.NavigationRouteResult;
        }
 private void NextButton_Click(object sender, RoutedEventArgs e)
 {
     var button = sender as Button;
     currentItem = button.DataContext as AlternativeRoutesPageViewModel.NavigationRouteResult;
     OptionSelected(AlternativeRoutesPageViewModel.OptionSelectedEventArgs.Options.ShowRoute);
 }
 private void ListItemGrid_Tap(object sender, System.Windows.Input.GestureEventArgs e)
 {
     var grid = sender as Grid;
     currentItem = grid.DataContext as AlternativeRoutesPageViewModel.NavigationRouteResult;
     OptionSelected(AlternativeRoutesPageViewModel.OptionSelectedEventArgs.Options.Drive);
 }
 private void ListItemGrid_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
 {
     var grid = sender as Grid;
     currentItem = grid.DataContext as AlternativeRoutesPageViewModel.NavigationRouteResult;
 }