Dim instance AsFlexGridDim value AsGridAutoSizeMode
instance.AutoSizeMode = value
value = instance.AutoSizeMode
Remarks
By default, the grid will automatically set the column width based on the content of the header and data cells in the column. This property allows you to change that to include only the headers or only the data.