Math, asked by Ketanjiwane625, 1 year ago

how to increase row height in datagridview c#

Answers

Answered by Lamesoul
0
Hello buddy...

The Height value of an automatically sized row is recalculated during layout to account for the size of the font that is used. To get the correct Height, you should retrieve the value in the form's Layout event instead of in the form's constructor.

To adjust row heights programmatically, use the AutoResizeRow or AutoResizeRowsmethods, or set the row Height property.

For cell contents to wrap onto multiple lines when a row is resized, the cell style in effect for the cell must have a WrapMode property value of True.

For more information about content-based automatic sizing, see Sizing Options in the Windows Forms DataGridView Control.



Hope it helps you
Answered by VashisthAtul
0
In a graphical sequence.
Similar questions