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