Window: If a ContentControl is placed inside the control and the ResizeMode is set to NoResize the SizeToContent doesn't take effect.
If a ContentControl is placed inside the control and the ResizeMode is set to NoResize the SizeToContent doesn't take effect.
As a workaround all you need to do is set the ResizeMode to NoResize in the Loaded event of the ContentControl.