I have a Silverlight application that is designed for a certain minimum resolution with layout growing gracefully if more space is available. What I want to do now is easily add some crude support for lower resolutions.
To do that, I introduced ScrollViewer as the layout root - the idea was to show appropriate scrollbars when screen is lower then the fixed minimum so the user can scroll the main layout. The problem is, now the whole layout grows without any bounds and scrollbars appear regardless of screen size.
One solution is to set the content's fixed size equal to the minimum supported size. This, however, kills the graceful growing if screen is larger. Or, I imagine, I could programmatically set the maximum size to what I determine is screen resolution.
Is there any way to do this elegantly in XAML?