SizeToContent
="WidthAndHeight" does not seem to work with RibbonWindow.
I've got a regular WPF window and grid to autozize as the contents of a label changes. It works perfectly.
Changing it to a RibbonWindow makes it look great, but the autoresizing stops working.
All I'm changing is the window type. All other code remains identical.
I'd like to use RibbonWindow, but short of writing rafts of code to manually calculate the element sizes and force the size of the Ribbon Window, I can't see a way to do it.
By the way, this is a popup window to replace MessageBox (to get that nice look) so text etc. is not predictable at design time.
Any ideas?