1 override of ReadOnly
System.Windows.Forms (1)
System\Windows\Forms\Controls\DataGridView\DataGridViewHeaderCell.cs (1)
118public override bool ReadOnly
20 references to ReadOnly
System.Windows.Forms (20)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (4)
12828if (!dataGridViewCell.ReadOnly 14846&& !dataGridViewCell.ReadOnly 16861&& !Rows[_ptCurrentCell.Y].Cells[_ptCurrentCell.X].ReadOnly) // Un-shares the row 27531if (dataGridViewCell.ReadOnly)
System\Windows\Forms\Controls\DataGridView\DataGridViewBand.cs (1)
430if (dataGridViewCell!.ReadOnly)
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (3)
453if (value != ReadOnly && !DataGridView.ReadOnly) 463if (value != ReadOnly) 1834if (ReadOnly)
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.DataGridViewCellAccessibleObject.cs (5)
40return !Owner.ReadOnly ? SR.DataGridView_AccCellDefaultAction : string.Empty; 144if (_owner.ReadOnly) 224if (_owner is DataGridViewHeaderCell || _owner.ReadOnly || _owner.DataGridView is null || _owner.OwningRow is null) 282if (dataGridViewCell.ReadOnly) 748internal override bool IsReadOnly => _owner?.ReadOnly ?? false;
System\Windows\Forms\Controls\DataGridView\DataGridViewCellCollection.cs (3)
98if (oldDataGridViewCell.ReadOnly) 277Debug.Assert(!dataGridViewCell.ReadOnly); 347if (dataGridViewCell.ReadOnly)
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.DataGridViewCheckBoxCellAccessibleObject.cs (2)
56if (Owner.ReadOnly) 100if (!dataGridViewCell.ReadOnly && dataGridViewCell.OwningColumn is not null && dataGridViewCell.OwningRow is not null)
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (1)
1252Debug.Assert(!ReadOnly);
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxCell.cs (1)
509Debug.Assert(!ReadOnly);