Reputation: 568
Is there anyway a Star Sized Grid.Row or Grid.Height specified value can be locked?
take my current wip for example:
How or What do i do to keep the equivalent value of 1* that is allocated for Row 0 (Index) be kept even if i set a different star size values for Row 1 ~ 3?
My allocation keeps braking up as it can't be helped for me to change values as the ui development progresses.
Upvotes: 0
Views: 428
Reputation: 35681
use 2 Grids. Outer Grid will have rows 1*
and 3*
. Nested Grid can be places in 3*
row and can have its own RowsDefinitions with different proportions:
<Grid>
<Grid.RowDefinitions>
<RowDefinition/>
<RowDefinition Height="3*"/>
</Grid.RowDefinitions>
<Grid Grid.Row="1">
<Grid.RowDefinitions>
<RowDefinition/>
<RowDefinition/>
<RowDefinition/>
</Grid.RowDefinitions>
</Grid>
</Grid>
Upvotes: 1