PrepAway - Latest Free Exam Questions & Answers

What should you do to ensure that the data source is updated whenever the FirstName property changes?

You are creating a Windows Presentation Foundation application by using Microsoft .NET Framework 3.5.
The application contains a Person object with a FirstName property. You bind the Person object to a data source that is used in several controls. You need to ensure that the data source is updated whenever the FirstName property changes.
What should you do?

PrepAway - Latest Free Exam Questions & Answers

A.
Use OneWay data binding.

B.
Use OneTime data binding.

C.
Create a PropertyChanged event handler in the application.

D.
Implement the INotifyPropertyChanged interface in the Person object.


Leave a Reply