public object Convert(object value, Type targetType, object parameter, string language) { if (value is null) { return(0); } string propertyName = parameter as string; return(AttributeReader.GetPropertyVatValueValue(value, propertyName)); }