Created
October 21, 2017 10:29
-
-
Save andy51002000/6e881b86a72cccb3d9383bf1966811dd to your computer and use it in GitHub Desktop.
Modify App.xaml and add ViewModelLocator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Application | |
x:Class="SimpleMVVM.App" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:local="using:SimpleMVVM" | |
RequestedTheme="Dark" | |
xmlns:vm="using:SimpleMVVM.ViewModels"> | |
<Application.Resources> | |
<ResourceDictionary> | |
<vm:ViewModelLocator x:Key="ViewModelLocator"/> | |
</ResourceDictionary> | |
</Application.Resources> | |
</Application> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment