DataGridView.UpdateRowHeightInfo Method (Int32, Boolean)
Forces the specified row or rows to update their height information.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
This method is useful when you maintain row heights yourself using handlers for the RowHeightInfoNeeded and RowHeightInfoPushed events. Call this method whenever you change the stored row heights outside of a RowHeightInfoPushed event handler. This will force the DataGridView control to retrieve the updated height information through the RowHeightInfoNeeded event handler.
Available since 2.0