/// <inheritdoc/> public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { if (value is TIn || (value == null && TypeUtilities.AcceptsNull(typeof(TIn)))) { return(_convert((TIn)value)); } else { return(AvaloniaProperty.UnsetValue); } }