6 references to DataBoundRowsCount
System.Windows.Forms (6)
System\Windows\Forms\Controls\DataGridView\DataGridView.DataConnection.cs (6)
341
Debug.Assert(
DataBoundRowsCount
() == CurrencyManager!.List!.Count || (_owner.Columns.Count == 0 && dataGridViewRowsCount == 0),
442
while (
DataBoundRowsCount
() < CurrencyManager!.Count);
488
Debug.Assert(
DataBoundRowsCount
() != -1, "the data bound data grid view rows count should be at least 0");
552
if (CurrencyManager.List.Count ==
DataBoundRowsCount
())
721
CurrencyManager.Count ==
DataBoundRowsCount
() + 1) // condition 6.
1394
Debug.Assert(
DataBoundRowsCount
() == CurrencyManager.List!.Count, "if the back end was changed while in AddNew the DGV should have updated its rows collection");