Hi,
I'm loading a XAML file with XamlReader and setting the returning object to the window's Content property. While this seems to work well, it doesn't quite do what I expect. If the window's original XAML contains keybindings or buttons, they seem to still exist. Keybindings still work and any Button objects in code are still valid. I would've expected everything to be destroyed since I've replaced them with a new XAML but that's not the case.
So what exactly does setting Content do? What does it not do?
Thanks!