December 2018
Intermediate to advanced
416 pages
10h 30m
English
We will now be adding five different templates, each corresponding to a specific message type that the app either sends or receives. Each of these templates goes under the <!-- Resources go here later on --> comment from the code snippet in the previous section.
We will not be explaining each of these templates step by step, since the XAML that they contain should be starting to feel familiar at this point.
Each template starts the same way: the root element is a DataTemplate with a name set. The name is important because we will be referencing it in code very soon. The first child of the DataTemplate is always ViewCell with the IsEnabled property set to false to avoid the user being able to interact with the content. We ...