ColCount Property

Gets or sets the number of columns for this grid.

Syntax

Public Property ColCount As Integer

Applies To

Grid Object

Data Type

Integer

Remarks

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.

See Also

RowCount Property