Windows 8 Development - Changing XAML Start Page

Опубликовано: 04 Октябрь 2024
на канале: techytube
739
2

Subscribe to our channel here for notifications on new video trainings. For more videos on technology, visit our website at http://www.techytube.com.
By mzmuda@techytube, for more from this author visit:
http://www.techytube.com/author/mzmuda

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/libra...