This question is locked. New answers and comments are not allowed.
Hi,
i want to show 10 rows on the grid and the code is below.
var header = this.FindChildByType<GridViewHeaderRow>();
var groupPanel = this.FindChildByType<GridViewGroupPanel>();
this.Height = header.ActualHeight + groupPanel.ActualHeight +
this.RowHeight * 10;
after i set height by the above code, the grid show about 9.5 rows , is there any error in calculating the height?
Thanks,