Building the View
The view allows the user to send and receive messages via the viewmodel. The view consists of the following elements:
A TextBox
to allow the user to enter a message to send.
An AppBar
, which includes an AppBarIconButton
to execute the viewmodel’s SendCommand
. For more information on the AppBar
, see Chapter 8, “Taming the Application Bar.”
A ListBox
to display all incoming messages.
The following excerpt shows the main content from ...
Get Windows® Phone 8 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.