Created
October 4, 2011 18:02
-
-
Save clausjoergensen/1262334 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// remove | |
//private void RecipeListBox_SelectionChanged(object sender, System.Windows.Controls.SelectionChangedEventArgs e) | |
//{ | |
// ViewModel.SelectedRecipe = (Recipe)RecipeListBox.SelectedItem; | |
//} | |
// replace with: | |
private void HubTile_Tap(object sender, System.Windows.Input.GestureEventArgs e) | |
{ | |
var recipe = (sender as HubTile).DataContext as Recipe; | |
ViewModel.SelectedRecipe = recipe; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment