13. Adding behaviour to a XAML page
Use x:Name to assign field name
allows you to reference element in
XAML and code behind
XAML
CODE BEHIND
14. Handle events in XAML
Can also wire up events in XAML – event handler must be defined
in the code behind file and have proper signature or it’s a runtime
failure
23. What is a Style?
The Style class groups a collection of property values into one object that can then be applied to multiple
visual element instances.
28. Model-View-ViewModel (MVVM)
MVVM is a layered,
separated presentation
pattern made popular by
XAML based UI where a
data binding engine takes
the place of the controller /
presenter
29. Model
Models manage the
application data and may
include any combination
of domain logic, persisted
state and validation, not
necessarily in one object
32. Connecting a View and ViewModel
Main ViewModel is most often set as the BindingContext for
the view in code behind, but can also be done in XAML if
preferred
46. INotifyPropertyChanged + Binding
Binding will subscribe to the PropertyChanged event and update the
target property when it sees the source property notification