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