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