To set or get the maximum value of a progressbar in ProgressBar style cell then use the Max property.
This property has no effect on cell types other than ProgressBar cells.
DataGridCell Class