I couldn’t find any good way to bind to a code-behind property after DataContext was changed.
After some digging I finally stumbled on this little neat trick:
Set the name of your root using x:Name and you can then access it trough ElementName.
Example:
Enjoy!
