共用方式為


GridLineWidth Property

Specifies the thickness, in pixels, of the lines separating cells in a Grid control. Available at design time; read/write at run time.

Grid.GridLineWidth[ = nWidth]

Property Values

  • nWidth
    Specifies the thickness of the line separating cells in a Grid control. The default value for nWidth is 1, and the minimum and maximum values are 1 and 40 respectively.

See Also

GridLineColor Property | GridLines Property

Applies To: Grid