private static void OnExampleSearchSearchSelection(object sender, SearchSelectionEventArgs e) { // EQATEC: track navigation to page string analyticsString = string.Concat(EqatecConstants.NavigateBySearch, ".", e.SelectedItem.ToString().Replace("Telerik.Windows.Examples.", "")); EqatecMonitor.Instance.TrackFeature(analyticsString); var navigateCommand = ((sender as SearchBox).DataContext as QuickStartViewModelBase).NavigateCommand; navigateCommand.Execute(e.SelectedItem); }
private void OnResultListSearchSelection(object sender, SearchSelectionEventArgs e) { this.OnSearchSelection(); }