Gets or sets a value that represents the width of the column when it is in fill mode relative to the widths of other fill-mode columns in the control.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
The specified value when setting this property is less than or equal to 0.
When the InheritedAutoSizeMode property value is Fill, the column is resized along with other columns in that mode so that all visible columns in the control exactly fill the horizontal width of the available display area. All fill-mode columns in the control divide the available space in proportions determined by their property values. For more information about column fill mode, see Column Fill Mode in the Windows Forms DataGridView Control.
The maximum sum of values for all columns in a DataGridView control is 65535.
The following code example illustrates the use of this property. This example is part of a larger example available in How to: Set the Sizing Modes of the Windows Forms DataGridView Control.