Tag Archives: DataContext

Force rebind on a WPF control or view by resetting the DataContext without using null!

I had an issue where I wanted to force a datacontext to rebind everything. The RaisePropertyChanged(“”) wasn’t working and I like to keep things simple. I was setting the DataContext = null then setting it back to the desired object right after to force a rebind. This worked well but really pissed off some of… Read More »