2021-11-07

Convert Boolean to Yes/No in XAML

On user interfaces, it maybe necessary to present a user-friendly version of a Boolean value. I.e. Instead of true or false, it is presented as yes or no. With Xamarin Forms and MVVM XAML bindings, it is possible to add converters on bindings. As can be seen in this example, it is really easy to […]

Read More…

2020-02-23

Improving MVVM INotifyPropertyChanged

With a project that uses MVVM (Model-View-View Model) design pattern, INotifyPropertyChanged is often used to detect a property value change in an object. This is particularly pertinent as far as creating a two-way data binding. Typical Implementation Normally, the INotifyPropertyChanged is implemented in a similar pattern to the code below. This is something that makes […]

Read More…