private void ObjectButtonClick(object sender, RoutedEventArgs e) { Examples = new AlphabetExampleCollection(); Examples.Add("Apple"); Examples.Add("Ball"); Examples.Add("Chair"); Examples.Add("Desk"); Examples.Add("Eee PC"); NotifyPropertyChanged("Examples"); }
private void AnimalButtonClick(object sender, RoutedEventArgs e) { Examples = new AlphabetExampleCollection(); Examples.Add("Ardvark"); Examples.Add("Bat"); Examples.Add("Cat"); Examples.Add("Dingo"); Examples.Add("Emu"); NotifyPropertyChanged("Examples"); }