Пример #1
0
        public Microsoft()
        {
            InitializeComponent();

            // MVVM binding
            BindingContext = new MicrosoftBooksViewModel();
        }
Пример #2
0
        public Microsoft()
        {
            InitializeComponent();
            BindingContext = new MicrosoftBooksViewModel();
            //         Items = new ObservableCollection<string>
            //         {
            //             "Item 1",
            //             "Item 2",
            //             "Item 3",
            //             "Item 4",
            //             "Item 5"
            //         };

            //MyListView.ItemsSource = Items;
        }