Columns Property (DataGrid)

       

Returns a collection of Column objects.

Syntax

object.Columns

The object placeholder represents an object expression that evaluates to an object in the Applies To list.

Remarks

The Columns property returns a collection of Column objects in a Variant.

You can manipulate most of a DataGrid control's attributes by changing the properties of Column objects. Choose a specific Column object with the Col property.