Base:
property
ReadOnly
System.Windows.Forms.DataGridViewBand.ReadOnly
26 writes to ReadOnly
PresentationUI (2)
MS\Internal\Documents\RMPublishingDialog.RightsTable.cs (2)
336header.ReadOnly = false; 342header.ReadOnly = true;
System.Windows.Forms (2)
System\Windows\Forms\Controls\DataGridView\DataGridView.DataConnection.cs (1)
964dataGridViewColumn.ReadOnly = _props[i].IsReadOnly;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
10463dataGridViewColumn.ReadOnly = conn.DataFieldIsReadOnly(dataGridViewColumn.BoundColumnIndex) || dataGridViewColumn.ReadOnly;
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (1)
113column.ReadOnly = _readOnlyCheckBox.Checked;
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
319destColumn.ReadOnly = srcColumn.ReadOnly;
System\Windows\Forms\Design\DataGridViewDesigner.cs (1)
671dataGridViewColumn.ReadOnly = backEndProps[i].IsReadOnly;
System.Windows.Forms.Tests (19)
System\Windows\Forms\DataGridViewCellTests.cs (3)
1451ReadOnly = true, 1627column.ReadOnly = columnReadOnly; 1651column.ReadOnly = columnReadOnly;
System\Windows\Forms\DataGridViewColumnTests.cs (10)
1428ReadOnly = value 1434column.ReadOnly = value; 1439column.ReadOnly = !value; 1460column.ReadOnly = value; 1464column.ReadOnly = value; 1468column.ReadOnly = !value; 1497column.ReadOnly = true; 1502column.ReadOnly = true; 1507column.ReadOnly = false; 1513column.ReadOnly = true;
System\Windows\Forms\DataGridViewHeaderCellTests.cs (6)
590ReadOnly = columnReadOnly 627column.ReadOnly = columnReadOnly; 649column.ReadOnly = columnReadOnly; 672column.ReadOnly = columnReadOnly; 711column.ReadOnly = columnReadOnly; 2494ReadOnly = true,
30 references to ReadOnly
System.Windows.Forms (14)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (2)
2922|| (dataGridViewCell.OwningColumn is not null && dataGridViewCell.OwningColumn.ReadOnly) 3111Debug.Assert(!Columns[columnIndex].ReadOnly);
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (11)
7023|| dataGridViewCell.OwningColumn.ReadOnly 10463dataGridViewColumn.ReadOnly = conn.DataFieldIsReadOnly(dataGridViewColumn.BoundColumnIndex) || dataGridViewColumn.ReadOnly; 10616if (!dataGridViewCell.OwningColumn.ReadOnly && IsSharedCellReadOnly(dataGridViewCell, rowIndex)) 11020if ((ReadOnly || dataGridViewColumn.ReadOnly) && dataGridViewCell.StateIncludes(DataGridViewElementStates.ReadOnly)) 14433if (!dataGridViewColumn.ReadOnly 14736&& !dataGridViewColumn.ReadOnly 14840Debug.Assert(!Columns[dataGridViewCell.ColumnIndex].ReadOnly); 18674&& !Columns[_ptCurrentCell.X].ReadOnly 27470if ((rowState & DataGridViewElementStates.ReadOnly) == 0 && !Columns[columnIndex].ReadOnly) 27485if (Columns[columnIndex].ReadOnly) 27535if (Columns[columnIndex].ReadOnly != readOnly)
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (1)
445return OwningColumn!.ReadOnly;
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
319destColumn.ReadOnly = srcColumn.ReadOnly;
System.Windows.Forms.Tests (15)
System\Windows\Forms\DataGridViewColumnTests.cs (15)
41Assert.False(column.ReadOnly); 88Assert.False(column.ReadOnly); 1402Assert.Equal(expected, column.ReadOnly); 1419Assert.Equal(dataGridViewReadOnly, column.ReadOnly); 1430Assert.Equal(value, column.ReadOnly); 1435Assert.Equal(value, column.ReadOnly); 1440Assert.Equal(!value, column.ReadOnly); 1461Assert.Equal(controlReadOnly || value, column.ReadOnly); 1465Assert.Equal(controlReadOnly || value, column.ReadOnly); 1469Assert.Equal(controlReadOnly || !value, column.ReadOnly); 1472Assert.Equal(!controlReadOnly && !value, column.ReadOnly); 1498Assert.True(column.ReadOnly); 1503Assert.True(column.ReadOnly); 1508Assert.False(column.ReadOnly); 1514Assert.True(column.ReadOnly);