public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { string name = String.Empty; int parameterID = -1; if (Int32.TryParse(value.ToString(), out parameterID) && parameterID > 0) { name = ParameterRepository.GetParameterName(parameterID); } ; return(name); }