I have a main window view that hosts other views created as UserControls and placed in a ContentControl.
I've set:
WindowStartupLocation="CenterScreen"
SizeToContent="WidthAndHeight"
This works fine for the initial view - but when the content changes to a larger view it resizes to fit it but doesn't 're-center' the window. How do I get the main window to re-center?