Setting the SizeToContent property while having a specific Width and Height set is not possible in the current version of RadWindow control by design.
I am not sure that I understand the scenario you are trying to implement fully but if you want to set the MinWidth/MinHeight properties to the actual Width/Height of the content in the control you could set them in the Loaded event. The next code snippet represents the described approach:
sender, RoutedEventArgs e)
var radWindow = sender
radWindow.MinWidth = radWindow.ActualWidth;
radWindow.MinHeight = radWindow.ActualHeight;
On your last question concerning SizeToContent
while the MaxHeight
is set it seems that it is a bug in the control and we have logged it in our Public Issue Tracker System
where you can vote and track its status.
I updated your Telerik points for bringing this to our attention.
the Telerik team