C#

Example for Property Change Notification in C#.NET

When a property is binded to UI element, and if the property value changes , if you want to reflect the changed value on the binded UI element, you have make sure the property containing class should implement INotifyPropertyChanged inteface.

In the below example, TextBox text property is binded with “Grade” property of Student Class.
if Student Class , Grade property is changed to new value it should reflect on the grade  textbox of the below figure

C# Code:

Source Code: Download

How do you implement property change notifications?,

How do you raise property to change events?,

How will an object be notified if the property bound to it has been changed?,

What is property changed?,

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.