public AlbumsPage() { InitializeComponent(); var vm = new AlbumViewModel(); vm.BackCommand = new RelayCommand(o => Frame.Navigate(typeof(MainPage))); vm.Initialize(); DataContext = vm; }