public MainPage()
 {
     this.InitializeComponent();
     _model = new TestViewModel();
     this.DataContext = _model;
     var items = new List<string>() { "a", "ab","abc", "b", "c", "d", "e", "f", "g" };
     ABBox.ItemsSource = items;
 }
Example #2
0
 public MainPage()
 {
     this.InitializeComponent();
     var model = new TestViewModel();
     this.DataContext = model;
 }