BP110: Use triggers and converters to avoid using code behind
Learn how to use triggers. Property triggers allow you to easily set a value of a property when another property has specified value. Using this will help you to keep a UI logic in XAML.
Thanks to converters you can transform values using any logic you define. Having a set of reusable converters simplifies the presentation layer and help you to do transformations declaratively in XAML.