New to Telerik UI for .NET MAUI? Start a free 30-day trial

.NET MAUI DataGrid Row Height

The Telerik UI for .NET MAUI DataGrid provides full control over the way the content is accommodated inside the DataGrid by enabling you to manually set the height of its rows.

By default, the row height is calculated according to the cell content.

For more information on customizing the row style, positioning the text inside the cells, setting the text margins, and defining the text alignment, see the topic about customizing the content style of the .NET MAUI DataGrid cell.

To set the row height, apply the RowHeight property of type double to the DataGrid instance.

<telerik:RadDataGrid x:Name="dataGrid"
                            RowHeight="50"
                            ItemsSource="{Binding Source}" />

The following image shows the difference in the way the DataGrid is rendered with and without RowHeight specifically set:

.NET MAUI DataGrid RowHeight

Additional Resources

See Also

In this article