Gets or sets a value indicating whether users can resize columns.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Use this property to prevent users from manually changing column widths. This is useful, for example, with display-only columns where data is loaded once and columns are resized at that time.
For more information about user resizing, see Sizing Options in the Windows Forms DataGridView Control.
The following code example illustrates how to use this property in a DataGridView control intended primarily for display. In this example, the visual appearance of the control is customized in several ways and the control is configured for limited interactivity. This example is part of a larger example available in the DataGridViewCellStyle class overview.
Available since 2.0