Gets or sets the number of columns for this grid.
Public Property ColCount As Integer
Grid Object
Integer
Use the RowCount and ColCount properties to get the dimensions of the control or to resize the control dynamically at runtime.
The minimum number of RowCount and ColCount is 0. The maximum number is limited by the memory available on your computer.