// [Inline] // public Genre Genre { get; set; } public MovieListView() { DataContext = new MovieListViewModel(); // { TestEntry = "TestEntry string" }; HoneyDoList = new HoneyDoList(); Movies2 = new ObservableCollection <MovieViewModel>(); var dataModel = new MovieDataModel(); dataModel.Load(); Movies2 = dataModel.Movies; MyString = "Test string"; InterestingStuff = new InterestingView(); Location = new CLLocationCoordinate2D(-33.867139, 151.207114); DynamicView = new View1(); ElementAPIView = new ElementAPIView(); AddressView = new AddressView() { Number = "4751", Street = "Wilshire Blvd", City = "LA", State = "CA", Zip = "90010" }; WebSamples = new WebSamples(); //// foreach(var movie in dataModel.Movies) //// { //// Movies.Add(new MovieView() { DataContext = movie }); //// } // //Movies2 = Movies; Time = DateTime.Now; Date = DateTime.Now; CanChangeStyle = true; }
// [Inline] // public Genre Genre { get; set; } public MovieListView() { DataContext = new MovieListViewModel();// { TestEntry = "TestEntry string" }; HoneyDoList = new HoneyDoList(); Movies2 = new ObservableCollection<MovieViewModel>(); var dataModel = new MovieDataModel(); dataModel.Load(); Movies2 =dataModel.Movies; MyString = "Test string"; InterestingStuff = new InterestingView(); Location = new CLLocationCoordinate2D(-33.867139,151.207114); DynamicView = new View1(); ElementAPIView = new ElementAPIView(); AddressView = new AddressView() {Number = "4751", Street ="Wilshire Blvd", City ="LA", State="CA", Zip ="90010" }; WebSamples = new WebSamples(); //// foreach(var movie in dataModel.Movies) //// { //// Movies.Add(new MovieView() { DataContext = movie }); //// } // //Movies2 = Movies; Time = DateTime.Now; Date = DateTime.Now; CanChangeStyle = true; }