SUMMARY

This chapter explained how to create the MetroBones Metro-style application. It explained the purposes of the Logo.png, SmallLogo.png, SplashScreen.png, and StoreLogo.png files, and explained how to modify them for your applications. The chapter also explained how to use the Manifest Designer to set application properties such as its initial orientation and a wide logo file.

The chapter then explained how to use a Viewbox to enlarge a basic fixed-size interface so it can fill Metro devices of various sizes. This technique is not as flexible as using Grid and other arranging controls to fill the available space on different devices, but it is much easier and works quite well for an application such as MetroBones, which doesn’t display large amounts of data.

The chapter explained how to read resource files in Metro-style applications. Because many Metro file processing methods work asynchronously, the program uses the Await keyword to wait for them to complete.

Finally, the chapter explained how to test Metro applications in the Microsoft Windows Simulator or on the local machine.

The MetroBones program demonstrates some useful techniques but it barely touches on the things you can do with Metro-style applications. Some devices that support Metro provide all sorts of other features such as cameras, accelerometers, orientation sensors, geolocation, and multi-touch input. The MetroBones program doesn’t demonstrate any of that. Those topics and many others are outside the scope ...

Get Visual Basic 2012 Programmer's Reference 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.