WinUI-Gallery
WinUI-Gallery copied to clipboard
Winui 3 datagrid Row height is not working when we resize column
Issue type
sample request
Which version of the app?
WinUI 3 Gallery
Description
When we have set Wrap data for any column and if user resize (shrink) column and then expand column. data grid is not refreshing its height based on content. hence so many blank spaces. Please refer my both snapshots.
ctWinUI:DataGrid.Resources <Style TargetType="TextBlock" x:Key="WrapText"> <Setter Property="TextWrapping" Value="Wrap"/> </Style> </ctWinUI:DataGrid.Resources>
<ctWinUI:DataGridTextColumn Header="Parent Mountain" Binding="{Binding Parent_mountain}" ElementStyle="{StaticResource WrapText}" Tag="Parent_mountain" />
Screenshots
Windows version
No response
Additional context
No response