Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Windows Phone 7 Silverlight Cookbook

You're reading from   Windows Phone 7 Silverlight Cookbook All the recipes you need to start creating apps and making money.

Arrow left icon
Product type Paperback
Published in Aug 2011
Publisher Packt
ISBN-13 9781849691161
Length 304 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Jonathan Marbutt Jonathan Marbutt
Author Profile Icon Jonathan Marbutt
Jonathan Marbutt
Robb Schiefer Robb Schiefer
Author Profile Icon Robb Schiefer
Robb Schiefer
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Creating a view


Everything at this point has been pretty standalone with nothing to really see. With the view, we want to start bringing these elements together to give the user something they can actually see. Just like the ViewModel and the model, the view can actually stand completely independent from the others. This modularity helps provide simplicity in your application for testing and reuse.

Getting ready

We will be adding a view by using the MainPage.xaml page control that is at the start of your application. Let's go ahead and add the view for the concert details by creating a folder called Views, adding a Windows Phone Portrait Page, and naming it Concert.xaml:

How to do it...

Swap over to Expression Blend to build the UI and the data sources. The reason for this is that Blend gives you a much better overview of the data sources in your project as well as an easier way to create them:

  1. 1. To switch to Blend, simply right-click on the MainPage.xaml and hit Open in Expression Blend.

  2. 2....

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image