public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { if (ProjectConfiguration.HasU(value as string)) { return(TextDecorations.Underline); } else { return(null); } }