63 writes to AllowUserToAddRows
PresentationUI (1)
MS\Internal\Documents\RMPublishingDialog.Designer.cs (1)
230
this.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)
952
dataGridView.
AllowUserToAddRows
= value;
System.Windows.Forms.Tests (59)
System\Windows\Forms\AccessibleObjects\DataGridViewAccessibleObjectTests.cs (39)
578
using DataGridView dataGridView = new FakeFocusDataGridView(focused) {
AllowUserToAddRows
= false };
599
AllowUserToAddRows
= false
628
AllowUserToAddRows
= false,
647
AllowUserToAddRows
= false,
666
AllowUserToAddRows
= false,
686
AllowUserToAddRows
= false
704
AllowUserToAddRows
= false
722
AllowUserToAddRows
= false
741
AllowUserToAddRows
= false,
762
AllowUserToAddRows
= false,
783
AllowUserToAddRows
= false,
805
AllowUserToAddRows
= false,
828
AllowUserToAddRows
= false,
851
AllowUserToAddRows
= false,
874
AllowUserToAddRows
= false,
894
AllowUserToAddRows
= false,
914
AllowUserToAddRows
= false,
935
AllowUserToAddRows
= false,
955
AllowUserToAddRows
= false,
975
AllowUserToAddRows
= false,
996
AllowUserToAddRows
= false,
1016
AllowUserToAddRows
= false,
1036
AllowUserToAddRows
= false,
1057
AllowUserToAddRows
= false,
1077
AllowUserToAddRows
= false,
1097
AllowUserToAddRows
= false,
1206
using DataGridView dataGridView = new() {
AllowUserToAddRows
= false };
1225
using DataGridView dataGridView = new() {
AllowUserToAddRows
= false };
1244
using DataGridView dataGridView = new() {
AllowUserToAddRows
= false };
1263
using DataGridView dataGridView = new() {
AllowUserToAddRows
= false };
1282
using DataGridView dataGridView = new() {
AllowUserToAddRows
= false };
1301
using DataGridView dataGridView = new() {
AllowUserToAddRows
= false };
1332
using DataGridView dataGridView = new() {
AllowUserToAddRows
= false };
1375
using DataGridView dataGridView = new() {
AllowUserToAddRows
= false };
1606
using DataGridView dataGridView = new() {
AllowUserToAddRows
= false };
1619
using DataGridView dataGridView = new() {
AllowUserToAddRows
= false };
1633
using DataGridView dataGridView = new() {
AllowUserToAddRows
= false };
1648
using DataGridView dataGridView = new() {
AllowUserToAddRows
= false };
1680
using DataGridView dataGridView = new() {
AllowUserToAddRows
= false };
System\Windows\Forms\AccessibleObjects\DataGridViewRowAccessibleObjectTests.cs (16)
518
using DataGridView dataGridView = new() { ColumnHeadersVisible = false,
AllowUserToAddRows
= false };
541
using DataGridView dataGridView = new() { ColumnHeadersVisible = false,
AllowUserToAddRows
= false };
562
using DataGridView dataGridView = new() { ColumnHeadersVisible = false,
AllowUserToAddRows
= false };
583
using DataGridView dataGridView = new() { ColumnHeadersVisible = false,
AllowUserToAddRows
= false };
705
using DataGridView dataGridView = new() {
AllowUserToAddRows
= false };
731
using DataGridView dataGridView = new() {
AllowUserToAddRows
= false };
755
using DataGridView dataGridView = new() {
AllowUserToAddRows
= false };
779
using DataGridView dataGridView = new() {
AllowUserToAddRows
= false };
913
using DataGridView dataGridView = new() { ColumnHeadersVisible = false,
AllowUserToAddRows
= false };
936
using DataGridView dataGridView = new() { ColumnHeadersVisible = false,
AllowUserToAddRows
= false };
957
using DataGridView dataGridView = new() { ColumnHeadersVisible = false,
AllowUserToAddRows
= false };
978
using DataGridView dataGridView = new() { ColumnHeadersVisible = false,
AllowUserToAddRows
= false };
1100
using DataGridView dataGridView = new() {
AllowUserToAddRows
= false };
1126
using DataGridView dataGridView = new() {
AllowUserToAddRows
= false };
1150
using DataGridView dataGridView = new() {
AllowUserToAddRows
= false };
1174
using DataGridView dataGridView = new() {
AllowUserToAddRows
= false };
System\Windows\Forms\AccessibleObjects\DataGridViewTopRowAccessibleObjectTests.cs (1)
34
using 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)
657
if (
AllowUserToAddRows
!= value)
671
?
AllowUserToAddRows
672
:
AllowUserToAddRows
&& DataConnection!.AllowAdd;
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.DataGridViewRowAccessibleObject.cs (1)
218
if (_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)
922
get => _owner.Control.
AllowUserToAddRows
;
System\Windows\Forms\Design\DataGridViewRowCollectionCodeDomSerializer.cs (1)
36
Debug.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
;