private void OnResultItemClicked(object sender, RoutedEventArgs e) { ResultItem item = e.OriginalSource as ResultItem; SelectResultItemCommand?.Execute(item.DataContext); }
private void OnResultItemSelected(object sender, RoutedEventArgs e) { ResultItem item = e.OriginalSource as ResultItem; SelectedResultItem = item; }