WPF Grid and DataGrid sizing
问题 The UserControl I'm trying to work with is essentially laid out like so: <Grid> <Grid.RowDefinitions> <Row Height="*"/> <Row Height="*"/> </Grid.RowDefinitions> <wpftoolkit:DataGrid x:Name="PrimaryGrid"/> <!-- ~10 rows --> <Border> <Grid> <Grid.RowDefinitions> <Row Height="*"/> <Row Height="*"/> </Grid.RowDefinitions> <wpftoolkit:DataGrid x:Name="SecondaryGrid"/> <!-- ~2 rows --> <wpftoolkit:DataGrid x:Name="OtherGrid"/> <!-- ~50 rows --> </Grid> </Border> </Grid> This UserControl is then