Hi,
I'm trying to place two grids in a window that looks like the below.
----------------------------------------------------------------
| |
----------------------------------------------------------------
| | | |
| GridView | | GridView |
| Here | | Here |
| | | |
| | | |
| | | |
| | | |
|----------------------------------------------------------------
| |
----------------------------------------------------------------
Now the grids should resize with the window. This led me create a Grid with the following row and column definitions.
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
This works great when there aren't very many items in the gridviews but the gridview in the left will almost always have over 1500 items in it. I did read your documentation where it states that placing gridviews in a spot where it measures infinity it will perform slowly. How would you recommend I layout the view so that the grid resizes with the window and still allows for a large amount of items?
I'm trying to place two grids in a window that looks like the below.
----------------------------------------------------------------
| |
----------------------------------------------------------------
| | | |
| GridView | | GridView |
| Here | | Here |
| | | |
| | | |
| | | |
| | | |
|----------------------------------------------------------------
| |
----------------------------------------------------------------
Now the grids should resize with the window. This led me create a Grid with the following row and column definitions.
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
This works great when there aren't very many items in the gridviews but the gridview in the left will almost always have over 1500 items in it. I did read your documentation where it states that placing gridviews in a spot where it measures infinity it will perform slowly. How would you recommend I layout the view so that the grid resizes with the window and still allows for a large amount of items?