public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { var height = (double)value; return Ratio * height; }