Microsoft
70-511 · Question #5
70-511 Question #5: Real Exam Question with Answer & Explanation
Sign in or unlock 70-511 to reveal the answer and full explanation for question #5. The question stem and answer options stay visible for context.
Question
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You add a ListBox control to the application. The ListBox control is data-bound to an instance of a custom collection class of the Product objects named ProductList. The number of items of the data-bound collection is fixed. However, users can modify the properties of each of the Product objects in the collection. You need to ensure that changes made on the Product objects are automatically reflected in the ListBox control. What should you do?
Options
- AImplement the INotifyPropertyChanged interface in the Product class.
- BImplement the INotifyCollectionChanged interface in the ProductList class.
- CSet the Mode property of the Binding object of the ListBox control to TwoWay.
- DSet the UpdateSourceTrigger property of the Binding object of the ListBox control to
Unlock 70-511 to see the answer
You've previewed enough free 70-511 questions. Unlock 70-511 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.