Gets or sets a value indicating whether users can resize rows.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Use this property to prevent users from manually changing row heights. This is useful, for example, with display-only controls where data is loaded once and rows 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