24 references to DataGridView_ReadOnlyCollection
System.Windows.Forms (24)
System\Windows\Forms\Controls\DataGridView\DataGridViewSelectedCellCollection.cs (8)
20
throw new NotSupportedException(SR.
DataGridView_ReadOnlyCollection
);
25
throw new NotSupportedException(SR.
DataGridView_ReadOnlyCollection
);
34
throw new NotSupportedException(SR.
DataGridView_ReadOnlyCollection
);
39
throw new NotSupportedException(SR.
DataGridView_ReadOnlyCollection
);
44
throw new NotSupportedException(SR.
DataGridView_ReadOnlyCollection
);
54
set { throw new NotSupportedException(SR.
DataGridView_ReadOnlyCollection
); }
112
throw new NotSupportedException(SR.
DataGridView_ReadOnlyCollection
);
125
throw new NotSupportedException(SR.
DataGridView_ReadOnlyCollection
);
System\Windows\Forms\Controls\DataGridView\DataGridViewSelectedColumnCollection.cs (8)
16
throw new NotSupportedException(SR.
DataGridView_ReadOnlyCollection
);
21
throw new NotSupportedException(SR.
DataGridView_ReadOnlyCollection
);
30
throw new NotSupportedException(SR.
DataGridView_ReadOnlyCollection
);
35
throw new NotSupportedException(SR.
DataGridView_ReadOnlyCollection
);
40
throw new NotSupportedException(SR.
DataGridView_ReadOnlyCollection
);
50
set { throw new NotSupportedException(SR.
DataGridView_ReadOnlyCollection
); }
79
throw new NotSupportedException(SR.
DataGridView_ReadOnlyCollection
);
92
throw new NotSupportedException(SR.
DataGridView_ReadOnlyCollection
);
System\Windows\Forms\Controls\DataGridView\DataGridViewSelectedRowCollection.cs (8)
18
int IList.Add(object? value) => throw new NotSupportedException(SR.
DataGridView_ReadOnlyCollection
);
20
void IList.Clear() => throw new NotSupportedException(SR.
DataGridView_ReadOnlyCollection
);
26
void IList.Insert(int index, object? value) => throw new NotSupportedException(SR.
DataGridView_ReadOnlyCollection
);
28
void IList.Remove(object? value) => throw new NotSupportedException(SR.
DataGridView_ReadOnlyCollection
);
30
void IList.RemoveAt(int index) => throw new NotSupportedException(SR.
DataGridView_ReadOnlyCollection
);
39
set { throw new NotSupportedException(SR.
DataGridView_ReadOnlyCollection
); }
66
public void Clear() => throw new NotSupportedException(SR.
DataGridView_ReadOnlyCollection
);
76
public void Insert(int index, DataGridViewRow dataGridViewRow) => throw new NotSupportedException(SR.
DataGridView_ReadOnlyCollection
);