## GridData.ColumnCount

### Introduced

v4.0

### Description

Returns or sets the number of columns contained in the GridData object as a Long. It is possible to change the number of columns even after data has been assigned to the GridData object. The value must be greater than zero.

### C# Syntax

    // get accessor

    Int32 rtn = GridData.ColumnCount;

    // set accessor

    GridData.ColumnCount = Int32;

### See Also

GridData.RowCount GridData.Data