61 references to GetFirstRow
System.Windows.Forms (61)
winforms\Managed\System\WinForms\DataGridView.cs (4)
2958
ptFirstDisplayedCellAddress.Y = this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible | DataGridViewElementStates.Frozen);
3039
int firstDisplayedRowIndex = this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible);
4581
int firstVisibleRowIndex = this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible);
5292
return -1 != this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible);
winforms\Managed\System\WinForms\DataGridViewCell.cs (1)
5271
if (this.owner.OwningRow.Index == this.owner.DataGridView.Rows.
GetFirstRow
(DataGridViewElementStates.Visible))
winforms\Managed\System\WinForms\DataGridViewColumn.cs (2)
1262
for (rowIndex = dataGridView.Rows.
GetFirstRow
(DataGridViewElementStates.Visible);
1286
rowIndex = dataGridView.Rows.
GetFirstRow
(DataGridViewElementStates.Visible | DataGridViewElementStates.Frozen);
winforms\Managed\System\WinForms\DataGridViewMethods.cs (50)
459
for (int rowIndex = this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible);
511
int rowIndex = this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible | DataGridViewElementStates.Frozen);
1293
for (int rowIndex = this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible);
1311
int rowIndex = this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible | DataGridViewElementStates.Frozen);
1375
(this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible) == -1 ||
1394
for (int rowIndex = this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible);
1430
for (int rowIndex = this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible);
1458
for (int rowIndex = this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible);
2029
rowIndex = this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible);
2046
rowIndex = this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible | DataGridViewElementStates.Frozen);
2086
for (rowIndex = this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible);
2158
rowIndex != this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible))
2202
rowIndexTmp = this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible);
2219
rowIndexTmp = this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible | DataGridViewElementStates.Frozen);
2259
for (rowIndexTmp = this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible);
3171
int rowIndex = this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible);
3254
Debug.Assert(0 == this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible));
5300
int dataGridViewRowFirst = this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible);
6494
rowIndexTmp = this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible | DataGridViewElementStates.Frozen);
6519
int firstDisplayedFrozenRowIndex = this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible | DataGridViewElementStates.Frozen);
6605
rowIndexTmp = this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible | DataGridViewElementStates.Frozen);
7371
int rowIndex = this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible | DataGridViewElementStates.Selected);
7515
int firstVisibleRowIndex = this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible);
7929
firstVisibleRowIndex = this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible);
8786
firstRowIndex = this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible);
9128
for (indexTmp = this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible | DataGridViewElementStates.Frozen);
9213
int indexTmp = this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible | DataGridViewElementStates.Frozen);
9288
int indexTmp = this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible | DataGridViewElementStates.Frozen);
9764
int rowIndex = this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible);
11518
for (int rowIndex = this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible);
13668
int rowIndex = this.Rows.
GetFirstRow
(DataGridViewElementStates.Displayed);
14177
int rowIndex = this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible);
18361
(this.rowHeadersWidthSizeMode == DataGridViewRowHeadersWidthSizeMode.AutoSizeToFirstHeader && rowIndex != -1 && rowIndex == this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible)))
19694
rowIndexTmp = this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible | DataGridViewElementStates.Frozen);
20119
indexTmp = this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible | DataGridViewElementStates.Frozen);
21553
int firstVisibleRowIndex = this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible);
22008
int firstVisibleRowIndex = this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible);
22509
int firstVisibleRowIndex = this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible);
23254
nextScreenVisibleRowIndex = this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible);
23494
previousScreenVisibleRowIndex = this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible);
23541
previousScreenVisibleRowIndex = this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible | DataGridViewElementStates.Frozen);
23748
int firstVisibleRowIndex = this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible);
24745
int firstVisibleRowIndex = this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible);
26043
for (int rowIndex = this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible);
26712
int firstVisibleRowIndex = this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible);
28251
int rowVFIndex = this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible | DataGridViewElementStates.Frozen);
28309
int rowVIndex = this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible);
28547
int firstVisibleRowIndex = this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible);
28703
int firstVisibleRowIndex = this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible);
29158
rowIndexTmp = this.Rows.
GetFirstRow
(DataGridViewElementStates.Visible | DataGridViewElementStates.Frozen);
winforms\Managed\System\WinForms\DataGridViewRow.cs (1)
2260
if (this.owner.Index != this.owner.DataGridView.Rows.
GetFirstRow
(DataGridViewElementStates.Visible))
winforms\Managed\System\WinForms\DataGridViewRowCollection.cs (1)
1071
return
GetFirstRow
(includeFilter);
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (1)
1393
if (this.Owner.OwningRow.Index == this.Owner.DataGridView.Rows.
GetFirstRow
(DataGridViewElementStates.Visible))
winforms\Managed\System\WinForms\DataGridViewTopLeftHeaderCell.cs (1)
648
DataGridViewRow row = this.Owner.DataGridView.Rows[this.Owner.DataGridView.Rows.
GetFirstRow
(DataGridViewElementStates.Visible)];