private async void InitItems() { string id = NavigationContext.QueryString["id"]; activeTravel = await travelRepo.Find(id); TxtTitle.Text = activeTravel.Name; categories = new ObservableCollection <CategorieViewModel>(activeTravel.Categories.Select(c => new CategorieViewModel(c)).ToList()); CategorieContainer.DataContext = categories; }