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; }
public MainPage() { this.InitializeComponent(); var model = new TestViewModel(); this.DataContext = model; }