# WPF DataBinding

**URL:** <https://forum.kirupa.com/t/wpf-databinding/239474>\
**Category:** programming\
**Created:** [September 22, 2007, 5:28am UTC](https://forum.kirupa.com/t/wpf-databinding/239474 "2007-09-22T05:28:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chakkaradeep](https://avatars.discourse-cdn.com/v4/letter/c/cc9497/32.png) [@chakkaradeep](https://forum.kirupa.com/u/chakkaradeep)\
**Post date:** [September 22, 2007, 5:28am UTC](https://forum.kirupa.com/t/wpf-databinding/239474/1 "2007-09-22T05:28:07Z")

</div>

Hi,

I just started exploring WPF Data Binding. Though I know to implement a simple data binding, but I want to understand what actually the **INotifyPropertyChanged** ’s event handler - \*\*PropertyChangedEventHandler \*\*code does.

```auto

protected void OnPropertyChanged(String name)
{
       PropertyChangedEventHandler handler = PropertyChanged;

       [COLOR=Red]if (handler != null)
       {
            handler(this, new PropertyChangedEventArgs(name));
       }[/COLOR]
}

```

I want to know more what happens in the [COLOR=Red]_red_[/COLOR] text in the above code

I would be happy if anyone could explain me 🙂

Thanks
