Setting this property to -1 causes the grid to use the default row height for this row (see the RowColCollection.DefaultSize property).
Height returns the height assigned to the row even if the row is invisible, and returns -1 if the row has the default height. To obtain the actual display height of a row, use the Row.HeightDisplay property.