Windows 8 Development – Changing XAML Start Page


Developers familiar with Visual Studio are aware that it is possible to change the startup project via a context menu.

Similarly, when the application starts, it will load the page defined in the OnLaunched method. In order to change which page is launched, the type of the page passed in just needs to match a type within the current project which derives from LayoutAwarePage.

In this video, I will show you how to change the start page for a XAML application through the code-behind file.

References

XAML Blog Reader – http://msdn.microsoft.com/en-us/library/windows/apps/br211380.aspx

Leave a comment