Microsoft
70-484 · Question #7
You need to identify the class to use as the data context for the image list box. Which class should you use?
The correct answer is B. System.Collections.ObjectModel.ObservableCollection<T>. ObservableCollection<T> Class Represents a dynamic data collection that provides notifications when items get added, removed, or when the whole list is refreshed.
Implement the user interface
Question
You need to identify the class to use as the data context for the image list box. Which class should you use?
Options
- ASystem. Collections. Object Model. CollectionObserver<T>
- BSystem.Collections.ObjectModel.ObservableCollection<T>
- CSystem.Collections.Generic.IEnumerator<T>
- DSystem.Collections.Generic.IEnumerable<T>
How the community answered
(23 responses)- A4% (1)
- B83% (19)
- C4% (1)
- D9% (2)
Explanation
ObservableCollection<T> Class Represents a dynamic data collection that provides notifications when items get added, removed, or when the whole list is refreshed.
Topics
#ObservableCollection#data context#data binding#MVVM
Community Discussion
No community discussion yet for this question.