共用方式為


RowHeight Property

Specifies the height of the rows in a Grid control. Available at design time; read/write at run time.

Grid.RowHeight[ = nHeight]

Property Values

  • nHeight
    Specifies the height of all the rows in a Grid control.

Remarks

If RowHeight is set to –1 (Auto), it automatically resizes the rows to fit the current FontSize property setting.

See Also

FontSize Property | RowColChange Property | RowSource Property

Applies To: Grid