property Columns.Count as Long
Specifies the number of columns.

TypeDescription
Long Counts the Column object into the collection.
The Count property counts the columns in the collection. Use the Columns property to access the control's Columns collection. Use the Item property to access a column by its index or key. Use the Add method to add new columns to the control. Use the Remove method to remove a column. Use the Clear method to clear the columns collection. By default, the control contains no columns. Before adding new items, you need to add columns. Use the Add / ToString / Count method to add new columns to the control. Use the Caption property to change the column's caption. To hide a column use the Visible property of the Column object. Use the BeginUpdate and EndUpdate methods to maintain performance while adding new columns and items.