Hello,
Why don't you let the SizeToContent property of the RadWindow work even when the Width and Height are set?
You have made the SizeToContent property a bool, but it would've been good if it could use the SizeToContent enumerations, that way even if the window was set to a specified width and height, the window would still auto-resize until the user would manually resize the window by dragging its margins.
The problem with this now is that the user has to specify MinWidth and MinHeight to explicit values instead of using MinWidth=Width and MinHeight=Height when the application loads, so the design-time sizes can't be used any more. Also, MinWidth=Width/MinHeight=Height cause the application to crash if trying to set the minimum value to size that is set to auto.
Also, auto-resize stops working as soon as the MaxWidth and MaxHeight are reached. The Window doesn't contract back any more after content gets smaller.
Are there any fixes to this, or easy alternative solutions?
Why don't you let the SizeToContent property of the RadWindow work even when the Width and Height are set?
You have made the SizeToContent property a bool, but it would've been good if it could use the SizeToContent enumerations, that way even if the window was set to a specified width and height, the window would still auto-resize until the user would manually resize the window by dragging its margins.
The problem with this now is that the user has to specify MinWidth and MinHeight to explicit values instead of using MinWidth=Width and MinHeight=Height when the application loads, so the design-time sizes can't be used any more. Also, MinWidth=Width/MinHeight=Height cause the application to crash if trying to set the minimum value to size that is set to auto.
Also, auto-resize stops working as soon as the MaxWidth and MaxHeight are reached. The Window doesn't contract back any more after content gets smaller.
Are there any fixes to this, or easy alternative solutions?