[]
Gets or sets which cells should be taken into account when auto-sizing a row or column.
[Parameter]
public GridAutoSizeMode AutoSizeMode { get; set; }
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.