O'Reilly logo

Windows Phone 8 Game Development by Marcin Jamro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Ranks screen

The next screen of the example game presents ranks of players, divided into three categories, local, from the last 24 hours, and overall. Creation of this screen is a bit different from the ones previously described, because it uses an additional user control (representing a single rank) and data templates, as shown in the following figure:

Ranks screen

The implementation is divided into three parts. You start with the model, then the view model is created, and finally the view is prepared.

Model

The model contains a class that represents a single rank item, as well as a value converter used to calculate the font weight based on a Boolean value. It ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required