163 references to GetRowState
System.Windows.Forms (163)
winforms\Managed\System\WinForms\DataGridView.cs (7)
2211
(this.Rows.
GetRowState
(value.RowIndex) & DataGridViewElementStates.Visible) == 0)
3042
if ((this.Rows.
GetRowState
(firstDisplayedRowIndex) & DataGridViewElementStates.Frozen) == 0 &&
3174
if ((this.Rows.
GetRowState
(value) & DataGridViewElementStates.Visible) == 0)
3178
if ((this.Rows.
GetRowState
(value) & DataGridViewElementStates.Frozen) != 0)
3731
DataGridViewElementStates rowState = this.Rows.
GetRowState
(rowIndex);
3742
DataGridViewElementStates rowState = this.Rows.
GetRowState
(rowIndex);
3752
DataGridViewElementStates rowState = this.Rows.
GetRowState
(rowIndex);
winforms\Managed\System\WinForms\DataGridViewCell.cs (8)
236
Debug.Assert(this.DataGridView.Rows.
GetRowState
(this.RowIndex) == this.DataGridView.Rows.SharedRow(this.RowIndex).State);
401
Debug.Assert(this.DataGridView.Rows.
GetRowState
(this.RowIndex) == this.DataGridView.Rows.SharedRow(this.RowIndex).State);
590
Debug.Assert(this.DataGridView.Rows.
GetRowState
(this.RowIndex) == this.DataGridView.Rows.SharedRow(this.RowIndex).State);
666
Debug.Assert(this.DataGridView.Rows.
GetRowState
(this.RowIndex) == this.DataGridView.Rows.SharedRow(this.RowIndex).State);
714
Debug.Assert(this.DataGridView.Rows.
GetRowState
(this.RowIndex) == this.DataGridView.Rows.SharedRow(this.RowIndex).State);
977
Debug.Assert(this.DataGridView.Rows.
GetRowState
(this.RowIndex) == this.DataGridView.Rows.SharedRow(this.RowIndex).State);
1205
DataGridViewElementStates rowState = this.DataGridView.Rows.
GetRowState
(rowIndex);
2100
DataGridViewElementStates rowEffectiveState = this.DataGridView.Rows.
GetRowState
(rowIndex);
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (1)
2008
DataGridViewElementStates rowState = this.DataGridView.Rows.
GetRowState
(rowIndex);
winforms\Managed\System\WinForms\DataGridViewDataConnection.cs (1)
1357
if ((this.owner.Rows.
GetRowState
(rowIndex) & DataGridViewElementStates.Visible) == 0)
winforms\Managed\System\WinForms\DataGridViewMethods.cs (121)
1463
((this.Rows.
GetRowState
(rowIndex) & DataGridViewElementStates.Selected) != 0));
1464
if ((this.Rows.
GetRowState
(rowIndex) & DataGridViewElementStates.Selected) == 0)
2165
DataGridViewElementStates rowState = this.Rows.
GetRowState
(rowIndex);
4152
if (rowIndex > -1 && (this.Rows.
GetRowState
(rowIndex) & DataGridViewElementStates.Visible) == 0)
4257
DataGridViewElementStates rowState = this.Rows.
GetRowState
(indexTmp);
4774
DataGridViewElementStates rowState = this.Rows.
GetRowState
(rowIndex);
4822
(this.Rows.
GetRowState
(firstDisplayedScrollingRow) & DataGridViewElementStates.Frozen) != 0 ||
4823
(this.Rows.
GetRowState
(firstDisplayedScrollingRow) & DataGridViewElementStates.Visible) == 0
4832
if ((this.Rows.
GetRowState
(i) & DataGridViewElementStates.Visible) != 0)
4848
if ((this.Rows.
GetRowState
(i) & (DataGridViewElementStates.Frozen | DataGridViewElementStates.Visible)) == DataGridViewElementStates.Visible)
5232
(this.Rows.
GetRowState
(previousRowIndex) & DataGridViewElementStates.Frozen) == 0 &&
5243
(this.Rows.
GetRowState
(nextRowIndex) & DataGridViewElementStates.Frozen) != 0 &&
5259
previousRowFrozen = (this.Rows.
GetRowState
(rowIndexTmp) & DataGridViewElementStates.Frozen) == DataGridViewElementStates.Frozen;
5267
nextRowFrozen = (this.Rows.
GetRowState
(rowIndexTmp) & DataGridViewElementStates.Frozen) == DataGridViewElementStates.Frozen;
5292
if (((this.Rows.
GetRowState
(rowIndex) & DataGridViewElementStates.Frozen) != 0 && !frozenStateChanging) ||
5293
((this.Rows.
GetRowState
(rowIndex) & DataGridViewElementStates.Frozen) == 0 && frozenStateChanging))
5487
Debug.Assert((this.Rows.
GetRowState
(this.newRowIndex) & DataGridViewElementStates.Visible) != 0);
6418
Debug.Assert((this.Rows.
GetRowState
(rowIndex) & DataGridViewElementStates.Visible) != 0);
6419
Debug.Assert((this.Rows.
GetRowState
(rowIndex) & DataGridViewElementStates.Frozen) == 0);
6459
if ((this.Rows.
GetRowState
(rowIndexTmp) & DataGridViewElementStates.Displayed) == 0)
6472
while (rowIndexTmp != -1 && (this.Rows.
GetRowState
(rowIndexTmp) & DataGridViewElementStates.Displayed) != 0)
6486
while (rowIndexTmp != -1 && (this.Rows.
GetRowState
(rowIndexTmp) & DataGridViewElementStates.Displayed) != 0)
6498
if ((this.Rows.
GetRowState
(rowIndexTmp) & DataGridViewElementStates.Displayed) == 0)
6507
while (rowIndexTmp != -1 && (this.Rows.
GetRowState
(rowIndexTmp) & DataGridViewElementStates.Displayed) != 0)
6548
if ((this.Rows.
GetRowState
(rowIndexTmp) & DataGridViewElementStates.Displayed) == 0)
6567
if ((this.Rows.
GetRowState
(rowIndexTmp) & DataGridViewElementStates.Displayed) == 0)
6595
if ((this.Rows.
GetRowState
(rowIndexTmp) & DataGridViewElementStates.Displayed) != 0)
6618
if ((this.Rows.
GetRowState
(rowIndexTmp) & DataGridViewElementStates.Displayed) != 0)
7019
if (!visibleRequired || (this.Rows.
GetRowState
(rowIndex) & DataGridViewElementStates.Visible) != 0)
7043
DataGridViewElementStates rowState = this.Rows.
GetRowState
(rowIndex);
7912
if ((this.Rows.
GetRowState
(rowIndex) & DataGridViewElementStates.Visible) != 0)
8673
(this.Rows.
GetRowState
(this.ptAnchorCell.Y) & DataGridViewElementStates.Frozen) != 0 &&
8675
(this.Rows.
GetRowState
(this.trackRowEdge) & DataGridViewElementStates.Frozen) != 0 &&
8677
(this.Rows.
GetRowState
(hti.row) & DataGridViewElementStates.Frozen) == 0)
8708
((this.Rows.
GetRowState
(this.ptAnchorCell.Y) & DataGridViewElementStates.Frozen) == 0 ||
8709
(this.trackRowEdge != -1 && (this.Rows.
GetRowState
(this.trackRowEdge) & DataGridViewElementStates.Frozen) == 0)) &&
8888
(this.ptAnchorCell.Y != -1 && (this.Rows.
GetRowState
(this.ptAnchorCell.Y) & DataGridViewElementStates.Frozen) == 0)
8890
(this.ptCurrentCell.Y != -1 && (this.Rows.
GetRowState
(this.ptCurrentCell.Y) & DataGridViewElementStates.Frozen) == 0)
9119
if ((this.Rows.
GetRowState
(rowIndex) & DataGridViewElementStates.Displayed) == 0)
9231
Debug.Assert((this.Rows.
GetRowState
(indexTmp) & DataGridViewElementStates.Visible) != 0 &&
9232
(this.Rows.
GetRowState
(indexTmp) & DataGridViewElementStates.Frozen) == 0);
9284
Debug.Assert((this.Rows.
GetRowState
(index) & DataGridViewElementStates.Visible) != 0);
9324
Debug.Assert((this.Rows.
GetRowState
(indexTmp) & DataGridViewElementStates.Visible) != 0 &&
9325
(this.Rows.
GetRowState
(indexTmp) & DataGridViewElementStates.Frozen) == 0);
10078
if ((this.Rows.
GetRowState
(lo) & DataGridViewElementStates.Visible) == 0)
10090
if ((this.Rows.
GetRowState
(hi) & DataGridViewElementStates.Visible) == 0)
10103
if ((this.Rows.
GetRowState
(lo) & DataGridViewElementStates.Frozen) != 0)
10139
if ((this.Rows.
GetRowState
(hi) & DataGridViewElementStates.Frozen) == DataGridViewElementStates.Frozen)
10166
if ((this.Rows.
GetRowState
(i) & DataGridViewElementStates.Visible) == 0)
10769
DataGridViewElementStates rowState = this.Rows.
GetRowState
(rowIndex);
10799
DataGridViewElementStates rowState = this.Rows.
GetRowState
(rowIndex);
11810
rowDisplayed = (this.Rows.
GetRowState
(rowIndex) & DataGridViewElementStates.Displayed) != 0;
12728
((this.Rows.
GetRowState
(hti.row) & DataGridViewElementStates.Selected) != 0))
12739
this.ptAnchorCell.Y > -1 && (this.Rows.
GetRowState
(this.ptAnchorCell.Y) & DataGridViewElementStates.Selected) != 0)
12792
else if ((this.Rows.
GetRowState
(hti.row) & DataGridViewElementStates.Selected) == 0)
12795
((this.Rows.
GetRowState
(hti.row) & DataGridViewElementStates.Selected) != 0));
12812
(((this.Rows.
GetRowState
(hti.row) & DataGridViewElementStates.Selected) != 0) ||
14906
(this.Rows.
GetRowState
(this.ptCurrentCell.Y) & DataGridViewElementStates.ReadOnly) == 0 &&
15269
Debug.Assert((this.Rows.
GetRowState
(rowIndex) & DataGridViewElementStates.Visible) != 0);
15288
(this.Rows.
GetRowState
(rowIndex) & DataGridViewElementStates.ReadOnly) == 0 &&
17993
DataGridViewElementStates rowState = this.Rows.
GetRowState
(rowIndex);
18257
DataGridViewElementStates rowState = this.Rows.
GetRowState
(rowIndex);
18349
rowDisplayed = (this.Rows.
GetRowState
(rowIndex) & DataGridViewElementStates.Displayed) != 0;
18426
((this.Rows.
GetRowState
(hti.row) & DataGridViewElementStates.Selected) != 0))
18505
else if ((this.Rows.
GetRowState
(hti.row) & DataGridViewElementStates.Visible) == 0)
18517
(this.Rows.
GetRowState
(this.ptAnchorCell.Y) & DataGridViewElementStates.Selected) != 0)
18578
else if ((this.Rows.
GetRowState
(hti.row) & DataGridViewElementStates.Selected) == 0)
18581
((this.Rows.
GetRowState
(hti.row) & DataGridViewElementStates.Selected) != 0));
19108
newState = this.Rows.
GetRowState
(rowIndex);
19149
bool rowDisplayed = (this.Rows.
GetRowState
(rowIndex) & DataGridViewElementStates.Displayed) != 0;
19698
if ((this.Rows.
GetRowState
(rowIndexTmp) & DataGridViewElementStates.Displayed) != 0)
19725
Debug.Assert((this.Rows.
GetRowState
(rowIndexTmp) & DataGridViewElementStates.Visible) != 0);
19731
if ((this.Rows.
GetRowState
(rowIndexTmp) & DataGridViewElementStates.Displayed) != 0)
20153
this.Rows.
GetRowState
(indexTmp),
20170
Debug.Assert((this.Rows.
GetRowState
(indexTmp) & DataGridViewElementStates.Frozen) == 0);
20171
Debug.Assert((this.Rows.
GetRowState
(indexTmp) & DataGridViewElementStates.Visible) != 0);
20205
this.Rows.
GetRowState
(indexTmp),
20380
if ((this.Rows.
GetRowState
(this.ptCurrentCell.Y) & DataGridViewElementStates.Frozen) == 0)
21212
if ((this.Rows.
GetRowState
(this.ptCurrentCell.Y) & DataGridViewElementStates.Selected) != 0)
21243
if ((this.Rows.
GetRowState
(this.ptCurrentCell.Y) & DataGridViewElementStates.Selected) != 0)
21291
if ((this.Rows.
GetRowState
(this.ptCurrentCell.Y) & DataGridViewElementStates.Selected) != 0)
21346
if ((this.Rows.
GetRowState
(this.ptCurrentCell.Y) & DataGridViewElementStates.Selected) != 0)
21433
if ((this.Rows.
GetRowState
(this.ptCurrentCell.Y) & DataGridViewElementStates.Selected) != 0)
21629
(this.Rows.
GetRowState
(this.ptCurrentCell.Y) & DataGridViewElementStates.Selected) != 0)
21645
(this.Rows.
GetRowState
(this.ptCurrentCell.Y) & DataGridViewElementStates.Selected) != 0)
21661
(this.Rows.
GetRowState
(this.ptCurrentCell.Y) & DataGridViewElementStates.Selected) != 0)
22083
(this.Rows.
GetRowState
(this.ptCurrentCell.Y) & DataGridViewElementStates.Selected) != 0)
22099
(this.Rows.
GetRowState
(this.ptCurrentCell.Y) & DataGridViewElementStates.Selected) != 0)
22115
(this.Rows.
GetRowState
(this.ptCurrentCell.Y) & DataGridViewElementStates.Selected) != 0)
23265
if ((this.Rows.
GetRowState
(nextScreenVisibleRowIndex) & DataGridViewElementStates.Frozen) != 0)
23420
if ((this.Rows.
GetRowState
(this.ptCurrentCell.Y) & DataGridViewElementStates.Selected) != 0)
23442
if ((this.Rows.
GetRowState
(this.ptCurrentCell.Y) & DataGridViewElementStates.Selected) != 0)
23506
if ((this.Rows.
GetRowState
(previousScreenVisibleRowIndex) & DataGridViewElementStates.Frozen) != 0)
23530
if ((this.Rows.
GetRowState
(previousScreenVisibleRowIndex) & DataGridViewElementStates.Frozen) != 0)
23659
if ((this.Rows.
GetRowState
(this.ptCurrentCell.Y) & DataGridViewElementStates.Selected) != 0)
23681
if ((this.Rows.
GetRowState
(this.ptCurrentCell.Y) & DataGridViewElementStates.Selected) != 0)
24521
if ((this.Rows.
GetRowState
(this.ptCurrentCell.Y) & DataGridViewElementStates.Selected) == 0)
25158
if ((this.Rows.
GetRowState
(this.ptCurrentCell.Y) & DataGridViewElementStates.Selected) != 0)
25185
if ((this.Rows.
GetRowState
(this.ptCurrentCell.Y) & DataGridViewElementStates.Selected) != 0)
25225
if ((this.Rows.
GetRowState
(this.ptCurrentCell.Y) & DataGridViewElementStates.Selected) != 0)
25271
if ((this.Rows.
GetRowState
(this.ptCurrentCell.Y) & DataGridViewElementStates.Selected) != 0)
25344
if ((this.Rows.
GetRowState
(this.ptCurrentCell.Y) & DataGridViewElementStates.Selected) != 0)
26067
DataGridViewElementStates rowState = this.Rows.
GetRowState
(rowIndex);
26083
DataGridViewElementStates rowState = this.Rows.
GetRowState
(rowIndex);
26315
Debug.Assert((this.Rows.
GetRowState
(rowIndex) & DataGridViewElementStates.Visible) != 0);
26373
if ((this.Rows.
GetRowState
(rowIndex) & DataGridViewElementStates.Frozen) == 0)
26456
(this.Rows.
GetRowState
(this.ptCurrentCell.Y) & DataGridViewElementStates.Frozen) == 0)
26676
DataGridViewElementStates rowState = this.Rows.
GetRowState
(rowIndex);
27374
if ((this.Rows.
GetRowState
(rowIndex) & DataGridViewElementStates.Selected) == 0)
27492
DataGridViewElementStates rowState = this.Rows.
GetRowState
(rowIndex);
27595
DataGridViewElementStates rowState = this.Rows.
GetRowState
(rowIndex);
27645
DataGridViewElementStates rowState = this.Rows.
GetRowState
(rowIndex);
27750
(this.Rows.
GetRowState
(rowIndex) & DataGridViewElementStates.Visible) == 0)
27878
if ((this.Rows.
GetRowState
(rowIndex) & DataGridViewElementStates.Selected) == 0)
27881
((this.Rows.
GetRowState
(rowIndex) & DataGridViewElementStates.Selected) != 0));
27887
if ((this.Rows.
GetRowState
(rowIndex) & DataGridViewElementStates.Selected) != 0)
27890
((this.Rows.
GetRowState
(rowIndex) & DataGridViewElementStates.Selected) != 0));
28076
DataGridViewElementStates rowState = this.Rows.
GetRowState
(rowIndex);
29040
bool rowVisible = (rowIndex >= 0 && (this.Rows.
GetRowState
(rowIndex) & DataGridViewElementStates.Visible) != 0);
29162
if (((this.Rows.
GetRowState
(rowIndexTmp) & DataGridViewElementStates.Displayed) == 0) == displayed)
29180
if (((this.Rows.
GetRowState
(rowIndexTmp) & DataGridViewElementStates.Displayed) == 0) == displayed)
winforms\Managed\System\WinForms\DataGridViewRow.cs (1)
1488
return this.DataGridView.Rows.
GetRowState
(rowIndex);
winforms\Managed\System\WinForms\DataGridViewRowCollection.cs (24)
1011
if ((
GetRowState
(i) & DataGridViewElementStates.Visible) == DataGridViewElementStates.Visible)
1058
while (index < this.items.Count && !((
GetRowState
(index) & includeFilter) == includeFilter))
1109
while (index < this.items.Count && (!((
GetRowState
(index) & includeFilter) == includeFilter) || !((
GetRowState
(index) & excludeFilter) == 0)))
1150
while (index >= 0 && !((
GetRowState
(index) & includeFilter) == includeFilter))
1186
while (index < this.items.Count && !((
GetRowState
(index) & includeFilter) == includeFilter))
1218
while (index < this.items.Count && (!((
GetRowState
(index) & includeFilter) == includeFilter) || !((
GetRowState
(index) & excludeFilter) == 0)))
1239
while (index >= 0 && !((
GetRowState
(index) & includeFilter) == includeFilter))
1271
while (index >= 0 && (!((
GetRowState
(index) & includeFilter) == includeFilter) || !((
GetRowState
(index) & excludeFilter) == 0)))
1316
if ((
GetRowState
(rowIndex) & includeFilter) == includeFilter)
1340
Debug.Assert((
GetRowState
(toRowIndex) & includeFilter) == includeFilter);
1345
if ((
GetRowState
(rowIndex) & includeFilter) == includeFilter)
1386
if ((
GetRowState
(rowIndex) & includeFilter) == includeFilter)
1408
Debug.Assert((
GetRowState
(toRowIndex) & includeFilter) == includeFilter);
1413
if ((
GetRowState
(rowIndex) & includeFilter) == includeFilter)
1425
Debug.Assert(toRowIndex == this.items.Count || (
GetRowState
(toRowIndex) & includeFilter) == includeFilter);
1430
if ((
GetRowState
(rowIndex) & includeFilter) == includeFilter)
1735
DataGridViewElementStates rowTemplateState =
GetRowState
(indexSource) & ~(DataGridViewElementStates.Selected | DataGridViewElementStates.Displayed);
2099
if ((
GetRowState
(rowIndex) & DataGridViewElementStates.Visible) == 0)
2118
if ((
GetRowState
(rowIndex) & DataGridViewElementStates.Frozen) != 0)
2149
DataGridViewElementStates rowStates =
GetRowState
(rowIndex);
2537
DataGridViewElementStates rowStates =
GetRowState
(rowIndex);