39 references to AllowUserToAddRowsInternal
System.Windows.Forms (39)
winforms\Managed\System\WinForms\DataGridView.cs (2)
4046if (this.AllowUserToAddRowsInternal) 4077this.Rows.RemoveAt(currentRowCount - (this.AllowUserToAddRowsInternal ? 2 : 1));
winforms\Managed\System\WinForms\DataGridViewCell.cs (1)
2681(dataGridView.AllowUserToAddRowsInternal && rowIndex > -1 && rowIndex == dataGridView.NewRowIndex && rowIndex != dataGridView.CurrentCellAddress.Y) ||
winforms\Managed\System\WinForms\DataGridViewDataConnection.cs (8)
496if (this.dataConnectionState[DATACONNECTIONSTATE_cachedAllowUserToAddRowsInternal] != this.owner.AllowUserToAddRowsInternal) 516Debug.Assert(this.owner.AllowUserToAddRowsInternal, "how did we start the add new transaction when the AllowUserToAddRowsInternal is false?"); 590this.currencyManager.List.Count == (this.owner.AllowUserToAddRowsInternal ? this.owner.Rows.Count - 1 : this.owner.Rows.Count)) 773if (this.owner.Rows.Count == (owner.AllowUserToAddRowsInternal ? 1 : 0)) 799if (this.owner.AllowUserToAddRowsInternal && // condition 1. 850if (this.owner.AllowUserToAddRowsInternal && this.owner.Rows.Count > 0) 913Debug.Assert(this.owner.AllowUserToAddRowsInternal, "how did we start an add new row transaction if the dataGridView control has AllowUserToAddRows == false?"); 1106this.dataConnectionState[DATACONNECTIONSTATE_cachedAllowUserToAddRowsInternal] = this.owner.AllowUserToAddRowsInternal;
winforms\Managed\System\WinForms\DataGridViewImageCell.cs (1)
237Debug.Assert(this.DataGridView.AllowUserToAddRowsInternal);
winforms\Managed\System\WinForms\DataGridViewMethods.cs (14)
3165Debug.Assert((this.AllowUserToAddRowsInternal && this.Rows.Count == 1) || 3166(!this.AllowUserToAddRowsInternal && this.Rows.Count == 0)); 5484if (this.AllowUserToAddRowsInternal) 10571!this.AllowUserToAddRowsInternal || 10761if (this.AllowUserToAddRowsInternal && this.newRowIndex == -1) 11216Debug.Assert(!this.AllowUserToAddRowsInternal); 13745else if (this.AllowUserToAddRowsInternal) 15047Debug.Assert(this.AllowUserToAddRowsInternal); 17703if (rowIndexPrevious > -1 && this.AllowUserToAddRowsInternal) 17970this.AllowUserToAddRowsInternal) 18124if (!validationFailureOccurred && this.AllowUserToAddRowsInternal && this.newRowIndex == rowIndex) 18147if (this.AllowUserToAddRowsInternal) 19645this.AllowUserToAddRowsInternal && 25493if (this.AllowUserToAddRowsInternal)
winforms\Managed\System\WinForms\DataGridViewRowCollection.cs (13)
374Debug.Assert(this.DataGridView.AllowUserToAddRowsInternal); 536Debug.Assert(this.DataGridView.AllowUserToAddRowsInternal); 574Debug.Assert(this.DataGridView.AllowUserToAddRowsInternal); 645Debug.Assert(this.DataGridView.AllowUserToAddRowsInternal); 709Debug.Assert(this.DataGridView.AllowUserToAddRowsInternal); 877Debug.Assert(this.DataGridView.AllowUserToAddRowsInternal); 978this.DataGridView.AllowUserToAddRowsInternal && 1554Debug.Assert(this.DataGridView.AllowUserToAddRowsInternal); 1601Debug.Assert(this.DataGridView.AllowUserToAddRowsInternal); 1731Debug.Assert(this.DataGridView.AllowUserToAddRowsInternal); 1901Debug.Assert(this.DataGridView.AllowUserToAddRowsInternal); 2297Debug.Assert(this.DataGridView.AllowUserToAddRowsInternal); 2804Debug.Assert(this.dataGridView.AllowUserToAddRowsInternal);