|119095||May 9,2015 12:12 AM||May 12,2015 04:41 AM||WPF||3|
Thank you for contacting Syncfusion support.
We have analyzed your query and you can achieve your requirement by using Model.ResizeRowsToFit method. Please refer the below code-snippet and attached sample in below mentioned location.
void datagrid_Loaded(object sender, RoutedEventArgs e)
We have SfDataGrid also and currently we have implemented many features in SfDataGrid and please refer the below UG links for the difference between the grids and features list for SfDataGrid. SfDataGrid has been designed based on the WPF template-based architecture which provides support to customize the Grid easily. Comparatively, the performance of SfDataGrid control is better than the GridDataControl.
For more details refer the below UG link.
In SfDataGrid you can Set the AutoRowHeight through the QueryRowHeight event and refer the below code-snippet to set the AutoRowHeight in SfDataGrid.
void datagrid_QueryRowHeight(object sender, Syncfusion.UI.Xaml.Grid.QueryRowHeightEventArgs e)
e.Height = Height;
e.Handled = true;
From: yap rwen [mailto:email@example.com]
Sent: Tuesday, May 12, 2015 12:07 AM
To: Syncfusion Support
Subject: Re: Syncfusion support community forum 119095, GridDataControl Set Auto Row Height, has been updated.
Thank you very much.
Sent from my ASUS
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.