Have datagridview, one column has wordwrap enabled. Setting AutoSizeRowsMode to anything other than None results in the grid taking a long time to populate. Doesn't matter if 10 rows or 100, bound or unbound. My grid is unbound. I would like to loop thru the row and based on the length of the text in the wrapped column calculate the row height for each row. How do I calculate the number of lines that have been produced by word-wrap? Or can I use the length of the text and based on other variables calculate the row height?
Other post suggest using DataGridViewAutoSizeRowsMode.DisplayedCells. That doesn't help.