private async void Button_Delete(object sender, RoutedEventArgs e) { var item = ((Grid)((Border)((Button)sender).Parent).Parent).DataContext as NotificationListItem; await m_userNotificationManager.DeleteAsync(item.Id); }
private async void Button_Delete(object sender, RoutedEventArgs e) { var item = ((Grid)((Border)((Button)sender).Parent).Parent).DataContext as NotificationListItem; await m_userNotificationManager.DeleteAsync(item.Id); }