I have an app where the main windows contains four different tabs. In the content area for one of the tabs I have a grid with two columns, where the left column contains a list of items and the right column has a detailed view for the selected item. When necessary, both columns are scrollable.
I'd like to add a minwidth and minheight to the grid container on this tab so that the two column layout is not overly distorted. However, I don't want to restrict MainWindow as the user may want to make the window quite small when viewing the other tabs.
If I wrap the tab content area with a ScrollViewer, the internal columns will never show scrollbars. Is it possible to have the internal scrollbars "take priority", and only have the scrollbars on the external ScrollViewer show up when the width/height drops below the minwidth/minheight of the grid?