[]
Gets or sets the maximum size for rows and columns in the collection.
public int MaxSize { get; set; }
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(int, int, int, int, int, AutoSizeFlags) or AutoSizeCols(int, int, int, int, int, AutoSizeFlags) method.
Setting this property to zero disables it.