To set or get the column count.
Column count may not be set to zero. If this property is set to zero then the DataGrid will adjust it back to one.
DataGrid Control