63 writes to AllowUserToAddRows
PresentationUI (1)
MS\Internal\Documents\RMPublishingDialog.Designer.cs (1)
230this.rightsTable.AllowUserToAddRows = false;
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\DataGridViewCellStyleBuilder.cs (2)
177_sampleDataGridView.AllowUserToAddRows = false; 190_sampleDataGridViewSelected.AllowUserToAddRows = false;
System\Windows\Forms\Design\DataGridViewDesigner.cs (1)
952dataGridView.AllowUserToAddRows = value;
System.Windows.Forms.Tests (59)
System\Windows\Forms\AccessibleObjects\DataGridViewAccessibleObjectTests.cs (39)
578using DataGridView dataGridView = new FakeFocusDataGridView(focused) { AllowUserToAddRows = false }; 599AllowUserToAddRows = false 628AllowUserToAddRows = false, 647AllowUserToAddRows = false, 666AllowUserToAddRows = false, 686AllowUserToAddRows = false 704AllowUserToAddRows = false 722AllowUserToAddRows = false 741AllowUserToAddRows = false, 762AllowUserToAddRows = false, 783AllowUserToAddRows = false, 805AllowUserToAddRows = false, 828AllowUserToAddRows = false, 851AllowUserToAddRows = false, 874AllowUserToAddRows = false, 894AllowUserToAddRows = false, 914AllowUserToAddRows = false, 935AllowUserToAddRows = false, 955AllowUserToAddRows = false, 975AllowUserToAddRows = false, 996AllowUserToAddRows = false, 1016AllowUserToAddRows = false, 1036AllowUserToAddRows = false, 1057AllowUserToAddRows = false, 1077AllowUserToAddRows = false, 1097AllowUserToAddRows = false, 1206using DataGridView dataGridView = new() { AllowUserToAddRows = false }; 1225using DataGridView dataGridView = new() { AllowUserToAddRows = false }; 1244using DataGridView dataGridView = new() { AllowUserToAddRows = false }; 1263using DataGridView dataGridView = new() { AllowUserToAddRows = false }; 1282using DataGridView dataGridView = new() { AllowUserToAddRows = false }; 1301using DataGridView dataGridView = new() { AllowUserToAddRows = false }; 1332using DataGridView dataGridView = new() { AllowUserToAddRows = false }; 1375using DataGridView dataGridView = new() { AllowUserToAddRows = false }; 1606using DataGridView dataGridView = new() { AllowUserToAddRows = false }; 1619using DataGridView dataGridView = new() { AllowUserToAddRows = false }; 1633using DataGridView dataGridView = new() { AllowUserToAddRows = false }; 1648using DataGridView dataGridView = new() { AllowUserToAddRows = false }; 1680using DataGridView dataGridView = new() { AllowUserToAddRows = false };
System\Windows\Forms\AccessibleObjects\DataGridViewRowAccessibleObjectTests.cs (16)
518using DataGridView dataGridView = new() { ColumnHeadersVisible = false, AllowUserToAddRows = false }; 541using DataGridView dataGridView = new() { ColumnHeadersVisible = false, AllowUserToAddRows = false }; 562using DataGridView dataGridView = new() { ColumnHeadersVisible = false, AllowUserToAddRows = false }; 583using DataGridView dataGridView = new() { ColumnHeadersVisible = false, AllowUserToAddRows = false }; 705using DataGridView dataGridView = new() { AllowUserToAddRows = false }; 731using DataGridView dataGridView = new() { AllowUserToAddRows = false }; 755using DataGridView dataGridView = new() { AllowUserToAddRows = false }; 779using DataGridView dataGridView = new() { AllowUserToAddRows = false }; 913using DataGridView dataGridView = new() { ColumnHeadersVisible = false, AllowUserToAddRows = false }; 936using DataGridView dataGridView = new() { ColumnHeadersVisible = false, AllowUserToAddRows = false }; 957using DataGridView dataGridView = new() { ColumnHeadersVisible = false, AllowUserToAddRows = false }; 978using DataGridView dataGridView = new() { ColumnHeadersVisible = false, AllowUserToAddRows = false }; 1100using DataGridView dataGridView = new() { AllowUserToAddRows = false }; 1126using DataGridView dataGridView = new() { AllowUserToAddRows = false }; 1150using DataGridView dataGridView = new() { AllowUserToAddRows = false }; 1174using DataGridView dataGridView = new() { AllowUserToAddRows = false };
System\Windows\Forms\AccessibleObjects\DataGridViewTopRowAccessibleObjectTests.cs (1)
34using DataGridView dataGridView = new() { AllowUserToAddRows = false };
System\Windows\Forms\DataGridViewTests.cs (3)
2947_dataGridView.AllowUserToAddRows = !_dataGridView.AllowUserToAddRows; 2951_dataGridView.AllowUserToAddRows = !_dataGridView.AllowUserToAddRows; 4061_dataGridView.AllowUserToAddRows = true;
8 references to AllowUserToAddRows
System.Windows.Forms (4)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (3)
657if (AllowUserToAddRows != value) 671? AllowUserToAddRows 672: AllowUserToAddRows && DataConnection!.AllowAdd;
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.DataGridViewRowAccessibleObject.cs (1)
218if (_owningDataGridViewRow.DataGridView is not null && _owningDataGridViewRow.DataGridView.AllowUserToAddRows && _owningDataGridViewRow.Index == _owningDataGridViewRow.DataGridView.NewRowIndex)
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\DataGridViewDesigner.cs (1)
922get => _owner.Control.AllowUserToAddRows;
System\Windows\Forms\Design\DataGridViewRowCollectionCodeDomSerializer.cs (1)
36Debug.Assert(dataGridView.AllowUserToAddRows, "we only have the add new row when the data grid view allows users to add rows");
System.Windows.Forms.Tests (2)
System\Windows\Forms\DataGridViewTests.cs (2)
2947_dataGridView.AllowUserToAddRows = !_dataGridView.AllowUserToAddRows; 2951_dataGridView.AllowUserToAddRows = !_dataGridView.AllowUserToAddRows;