You can bind Height to RowStyle .
Assuming you have a RowHeight property
<DataGrid ItemsSource="{Binding ...}"> <DataGrid.RowStyle> <Style TargetType="DataGridRow"> <Setter Property="Height" Value="{Binding RowHeight}"/> </Style> </DataGrid.RowStyle> </DataGrid>
Fredrik hedblad
source share