Hi,
I have a page with multiple sflistviews on it where the orientation is set to vertical.
As the number of items in the listview are dynamic I want the 'page' to grow based on the size of the listviews instead of having a fixed size and scrollbars coming in.
My pseudo page looks like this.
<Grid x:Name="MainGrid">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="72" />
<ColumnDefinition Width="400" />
<ColumnDefinition Width="300" />
<ColumnDefinition Width="300" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
<Grid Grid.Column="0">// Some non listview data</Grid>
<sflistview Grid.Column="1" ItemsSource="{Binding Items1}" Orientation="Vertical" />
<Grid Grid.Column="2">// Some non listview data</Grid>
<sflistview Grid.Column="3" ItemsSource="{Binding Items2}" Orientation="Vertical" />
<sflistview Grid.Column="4" ItemsSource="{Binding Items3}" Orientation="Vertical" />
</Grid>
Right now it only seems to 'work' if I set the width of the column to a hardcoded size, but i would like to have it auto and than have a scrollview around the whole grid. to scroll the complete screen. (Bit like the old Windows 8 screens.)
Any advice on how to accomplish this?