private void More_ListView_ItemClick(object sender, ItemClickEventArgs e) { Grid clickedItem = (Grid)e.ClickedItem; More_ContentDialogue.Hide(); switch (clickedItem.Name) { case "Edit": this.Frame.Navigate(typeof(DetailPage), new DrillInNavigationTransitionInfo()); break; case "Add": this.Frame.Navigate(typeof(Settings.AddDevicePage), new DrillInNavigationTransitionInfo()); break; default: break; } }
private void Adddevice_Click(object sender, RoutedEventArgs e) { More_ContentDialogue.Hide(); }