关于[Cleanup Your Xamarin.Forms MVVM Bindings Using Value Converters]的摘要:
When working with Data Binding in Xamarin.Forms you can often end up with a property in your ViewModel that's of the wrong type or needs to be converted. Maybe you've got double for a total and you want a field to change colour if it's negative, or an enum that should be displayed as a user friendly string.
原文地址: https://www.mfractor.com/blogs/news/cleanup-your-xamarin-forms-mvvm-bindings-using-value-converters