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)
940dataGridView.AllowUserToAddRows = value;
System.Windows.Forms.Tests (59)
System\Windows\Forms\AccessibleObjects\DataGridViewAccessibleObjectTests.cs (39)
580using DataGridView dataGridView = new FakeFocusDataGridView(focused) { AllowUserToAddRows = false }; 601AllowUserToAddRows = false 630AllowUserToAddRows = false, 649AllowUserToAddRows = false, 668AllowUserToAddRows = false, 688AllowUserToAddRows = false 706AllowUserToAddRows = false 724AllowUserToAddRows = false 743AllowUserToAddRows = false, 764AllowUserToAddRows = false, 785AllowUserToAddRows = false, 807AllowUserToAddRows = false, 830AllowUserToAddRows = false, 853AllowUserToAddRows = false, 876AllowUserToAddRows = false, 896AllowUserToAddRows = false, 916AllowUserToAddRows = false, 937AllowUserToAddRows = false, 957AllowUserToAddRows = false, 977AllowUserToAddRows = false, 998AllowUserToAddRows = false, 1018AllowUserToAddRows = false, 1038AllowUserToAddRows = false, 1059AllowUserToAddRows = false, 1079AllowUserToAddRows = false, 1099AllowUserToAddRows = false, 1208using DataGridView dataGridView = new() { AllowUserToAddRows = false }; 1227using DataGridView dataGridView = new() { AllowUserToAddRows = false }; 1246using DataGridView dataGridView = new() { AllowUserToAddRows = false }; 1265using DataGridView dataGridView = new() { AllowUserToAddRows = false }; 1284using DataGridView dataGridView = new() { AllowUserToAddRows = false }; 1303using DataGridView dataGridView = new() { AllowUserToAddRows = false }; 1334using DataGridView dataGridView = new() { AllowUserToAddRows = false }; 1377using DataGridView dataGridView = new() { AllowUserToAddRows = false }; 1608using DataGridView dataGridView = new() { AllowUserToAddRows = false }; 1621using DataGridView dataGridView = new() { AllowUserToAddRows = false }; 1635using DataGridView dataGridView = new() { AllowUserToAddRows = false }; 1650using DataGridView dataGridView = new() { AllowUserToAddRows = false }; 1682using DataGridView dataGridView = new() { AllowUserToAddRows = false };
System\Windows\Forms\AccessibleObjects\DataGridViewRowAccessibleObjectTests.cs (16)
520using DataGridView dataGridView = new() { ColumnHeadersVisible = false, AllowUserToAddRows = false }; 543using DataGridView dataGridView = new() { ColumnHeadersVisible = false, AllowUserToAddRows = false }; 564using DataGridView dataGridView = new() { ColumnHeadersVisible = false, AllowUserToAddRows = false }; 585using DataGridView dataGridView = new() { ColumnHeadersVisible = false, AllowUserToAddRows = false }; 707using DataGridView dataGridView = new() { AllowUserToAddRows = false }; 733using DataGridView dataGridView = new() { AllowUserToAddRows = false }; 757using DataGridView dataGridView = new() { AllowUserToAddRows = false }; 781using DataGridView dataGridView = new() { AllowUserToAddRows = false }; 915using DataGridView dataGridView = new() { ColumnHeadersVisible = false, AllowUserToAddRows = false }; 938using DataGridView dataGridView = new() { ColumnHeadersVisible = false, AllowUserToAddRows = false }; 959using DataGridView dataGridView = new() { ColumnHeadersVisible = false, AllowUserToAddRows = false }; 980using DataGridView dataGridView = new() { ColumnHeadersVisible = false, AllowUserToAddRows = false }; 1102using DataGridView dataGridView = new() { AllowUserToAddRows = false }; 1128using DataGridView dataGridView = new() { AllowUserToAddRows = false }; 1152using DataGridView dataGridView = new() { AllowUserToAddRows = false }; 1176using DataGridView dataGridView = new() { AllowUserToAddRows = false };
System\Windows\Forms\AccessibleObjects\DataGridViewTopRowAccessibleObjectTests.cs (1)
36using DataGridView dataGridView = new() { AllowUserToAddRows = false };
System\Windows\Forms\DataGridViewTests.cs (3)
2949_dataGridView.AllowUserToAddRows = !_dataGridView.AllowUserToAddRows; 2953_dataGridView.AllowUserToAddRows = !_dataGridView.AllowUserToAddRows; 4063_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)
217if (_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)
912get => _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)
2949_dataGridView.AllowUserToAddRows = !_dataGridView.AllowUserToAddRows; 2953_dataGridView.AllowUserToAddRows = !_dataGridView.AllowUserToAddRows;