The MaxSize property limits the maximum size of rows or columns when they are resized by the user or adjusted to fit the contents with the AutoSizeRows(Int32,Int32,Int32,Int32,Int32,AutoSizeFlags) or AutoSizeCols(Int32,Int32,Int32,Int32,Int32,AutoSizeFlags) method.
Setting this property to zero disables it.