December 2018
Intermediate to advanced
416 pages
10h 30m
English
It's now time to add some resources to the view. In this case, we will be adding a template selector that we will create later on, and the Base64ToImageConverter that we created earlier. The template selector will look at each row that we will bind to the ListView, which will be presenting messages and selecting the best layout template that suits that message. To be able to use these pieces of code from XAML, we need to define a way for the XAML parser to find them:
<ResourceDictionary> <selectors:ChatMessageSelector x:Key="SelectMessageTemplate" ...
Read now
Unlock full access