vs, C # Form Designer: the contents of a cell in datagridview control too much, way line display to wrap

vs, C # Form Designer: the contents of a cell in datagridview control too much, way line display to wrap:

Click datagridview control, as shown in the Properties box will RowsDefaultCellStyle attribute points to open at WrapMode changed option to true , then AutoSizeRowsMode property to DisplayedCellsExceptHeaders can.

 

RowsDefaultCellStyle properties: datagridview default style applied to the row of the cell.

AutoSizeRowsMode properties: determining automatically resize mode visible rows.

 

Guess you like

Origin blog.csdn.net/Q_0048/article/details/93381146