public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) { if (_offlineService.HasHistory(value as string)) return history; else return noHistory; }