예제 #1
0
        public AlbumsPage()
        {
            InitializeComponent();

            var vm = new AlbumViewModel();

            vm.BackCommand = new RelayCommand(o => Frame.Navigate(typeof(MainPage)));
            vm.Initialize();

            DataContext = vm;
        }