665 references to Visible
System.Windows.Forms (665)
winforms\Managed\System\WinForms\DataGridView.cs (26)
2125
DataGridViewColumn dataGridViewColumn = this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
);
2133
DataGridViewElementStates.
Visible
,
2211
(this.Rows.GetRowState(value.RowIndex) & DataGridViewElementStates.
Visible
) == 0)
2269
bool previousVisibleColumnExists = (null != this.Columns.GetPreviousColumn(this.Columns[this.ptCurrentCell.X], DataGridViewElementStates.
Visible
, DataGridViewElementStates.None));
2270
bool previousVisibleRowExists = (-1 != this.Rows.GetPreviousRow(this.ptCurrentCell.Y, DataGridViewElementStates.
Visible
));
2287
bool nextVisibleColumnExists = (null != this.Columns.GetNextColumn(this.Columns[this.ptCurrentCell.X], DataGridViewElementStates.
Visible
, DataGridViewElementStates.None));
2288
bool nextVisibleRowExists = (-1 != this.Rows.GetNextRow(this.ptCurrentCell.Y, DataGridViewElementStates.
Visible
));
2958
ptFirstDisplayedCellAddress.Y = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
2993
DataGridViewColumn dataGridViewColumn = this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
);
3039
int firstDisplayedRowIndex = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
);
3118
int totalVisibleFrozenWidth = this.Columns.GetColumnsWidth(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
3148
int maxHorizontalOffset = this.Columns.GetColumnsWidth(DataGridViewElementStates.
Visible
) - displayWidth;
3174
if ((this.Rows.GetRowState(value) & DataGridViewElementStates.
Visible
) == 0)
3194
int totalVisibleFrozenHeight = this.Rows.GetRowsHeight(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
3223
int rowsToScroll = this.Rows.GetRowCount(DataGridViewElementStates.
Visible
, this.displayedBandsInfo.FirstDisplayedScrollingRow, value);
3388
int widthNotVisible = this.Columns.GetColumnsWidth(DataGridViewElementStates.
Visible
) - this.layout.Data.Width;
3407
int totalVisibleFrozenWidth = this.Columns.GetColumnsWidth(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
3460
scrollEventType = this.Columns.GetColumnCount(DataGridViewElementStates.
Visible
, oldFirstVisibleScrollingCol, this.displayedBandsInfo.FirstDisplayedScrollingCol) > 1 ? ScrollEventType.LargeIncrement : ScrollEventType.SmallIncrement;
3465
scrollEventType = this.Columns.GetColumnCount(DataGridViewElementStates.
Visible
, this.displayedBandsInfo.FirstDisplayedScrollingCol, oldFirstVisibleScrollingCol) > 1 ? ScrollEventType.LargeDecrement : ScrollEventType.SmallDecrement;
3514
else if (value > 0 && (this.Columns.GetColumnsWidth(DataGridViewElementStates.
Visible
) - this.layout.Data.Width) <= 0)
3753
return (rowState & DataGridViewElementStates.
Visible
) != 0 &&
4580
DataGridViewColumn dataGridViewColumn = this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
);
4581
int firstVisibleRowIndex = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
);
5201
int totalVisibleFrozenHeight = this.Rows.GetRowsHeight(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
5288
if (null == this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
))
5292
return -1 != this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
);
winforms\Managed\System\WinForms\DataGridViewAccessibleObject.cs (4)
114
if (index < this.owner.Rows.GetRowCount(DataGridViewElementStates.
Visible
))
120
index -= this.owner.Rows.GetRowCount(DataGridViewElementStates.
Visible
);
153
int childCount = this.owner.Rows.GetRowCount(DataGridViewElementStates.
Visible
);
205
int actualDisplayIndex = this.owner.Columns.ColumnIndexToActualDisplayIndex(hti.ColumnIndex, DataGridViewElementStates.
Visible
);
winforms\Managed\System\WinForms\DataGridViewBand.cs (6)
861
return (this.State & DataGridViewElementStates.
Visible
) != 0;
865
if (((this.State & DataGridViewElementStates.
Visible
) != 0) != value)
876
OnStateChanging(DataGridViewElementStates.
Visible
);
879
this.StateInternal = this.State | DataGridViewElementStates.
Visible
;
883
this.StateInternal = this.State & ~DataGridViewElementStates.
Visible
;
885
OnStateChanged(DataGridViewElementStates.
Visible
);
winforms\Managed\System\WinForms\DataGridViewCell.cs (16)
973
Debug.Assert((this.State & DataGridViewElementStates.
Visible
) == 0);
1121
DataGridViewElementStates andFlags = DataGridViewElementStates.Displayed | DataGridViewElementStates.Frozen | DataGridViewElementStates.
Visible
;
1214
DataGridViewColumn dataGridViewColumn = this.DataGridView.Columns.GetLastColumn(DataGridViewElementStates.
Visible
, DataGridViewElementStates.None);
1231
rowIndex == this.DataGridView.Rows.GetLastRow(DataGridViewElementStates.
Visible
) /*isLastVisibleRow*/);
2076
state |= (this.owningRow.GetState(-1) & (DataGridViewElementStates.Frozen | DataGridViewElementStates.ReadOnly | DataGridViewElementStates.Selected | DataGridViewElementStates.
Visible
));
2111
state |= DataGridViewElementStates.
Visible
;
5097
int firstVisibleColumnIndex = this.owner.DataGridView.Columns.ColumnIndexToActualDisplayIndex(this.owner.DataGridView.FirstDisplayedScrollingColumnIndex, DataGridViewElementStates.
Visible
);
5098
int visibleColumnIndex = this.owner.DataGridView.Columns.ColumnIndexToActualDisplayIndex(this.owner.ColumnIndex, DataGridViewElementStates.
Visible
);
5271
if (this.owner.OwningRow.Index == this.owner.DataGridView.Rows.GetFirstRow(DataGridViewElementStates.
Visible
))
5285
int previousVisibleRow = this.owner.DataGridView.Rows.GetPreviousRow(this.owner.OwningRow.Index, DataGridViewElementStates.
Visible
);
5289
if (this.owner.OwningRow.Index == this.owner.DataGridView.Rows.GetLastRow(DataGridViewElementStates.
Visible
))
5295
int nextVisibleRow = this.owner.DataGridView.Rows.GetNextRow(this.owner.OwningRow.Index, DataGridViewElementStates.
Visible
);
5305
if (this.owner.OwningColumn == this.owner.DataGridView.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
))
5336
DataGridViewElementStates.
Visible
,
5344
if (this.owner.OwningColumn == this.owner.DataGridView.Columns.GetLastColumn(DataGridViewElementStates.
Visible
,
5378
DataGridViewElementStates.
Visible
,
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (2)
1087
int visibleRowIndex = this.DataGridView.Rows.GetRowCount(DataGridViewElementStates.
Visible
, 0, position.Y);
1088
int visibleColumnIndex = this.DataGridView.Columns.ColumnIndexToActualDisplayIndex(position.X, DataGridViewElementStates.
Visible
);
winforms\Managed\System\WinForms\DataGridViewColumn.cs (5)
1262
for (rowIndex = dataGridView.Rows.GetFirstRow(DataGridViewElementStates.
Visible
);
1264
rowIndex = dataGridView.Rows.GetNextRow(rowIndex, DataGridViewElementStates.
Visible
))
1286
rowIndex = dataGridView.Rows.GetFirstRow(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
1304
DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
1326
rowIndex = dataGridView.Rows.GetNextRow(rowIndex, DataGridViewElementStates.
Visible
);
winforms\Managed\System\WinForms\DataGridViewColumnCollection.cs (32)
527
DataGridViewElementStates.ReadOnly | DataGridViewElementStates.Selected | DataGridViewElementStates.
Visible
)) != 0)
536
case DataGridViewElementStates.
Visible
:
542
case DataGridViewElementStates.
Visible
| DataGridViewElementStates.Selected:
562
case DataGridViewElementStates.
Visible
:
565
case DataGridViewElementStates.
Visible
| DataGridViewElementStates.Selected:
588
DataGridViewElementStates.ReadOnly | DataGridViewElementStates.Selected | DataGridViewElementStates.
Visible
)) == 0);
641
DataGridViewElementStates.ReadOnly | DataGridViewElementStates.Selected | DataGridViewElementStates.
Visible
)) == 0);
658
DataGridViewElementStates.ReadOnly | DataGridViewElementStates.Selected | DataGridViewElementStates.
Visible
)) != 0)
667
case DataGridViewElementStates.
Visible
:
673
case DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen:
692
case DataGridViewElementStates.
Visible
:
695
case DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen:
706
DataGridViewElementStates.ReadOnly | DataGridViewElementStates.Selected | DataGridViewElementStates.
Visible
)) != 0)
741
DataGridViewElementStates.ReadOnly | DataGridViewElementStates.Selected | DataGridViewElementStates.
Visible
)) != 0)
746
DataGridViewElementStates.ReadOnly | DataGridViewElementStates.Selected | DataGridViewElementStates.
Visible
)) != 0)
778
DataGridViewElementStates.ReadOnly | DataGridViewElementStates.Selected | DataGridViewElementStates.
Visible
)) != 0)
783
DataGridViewElementStates.ReadOnly | DataGridViewElementStates.Selected | DataGridViewElementStates.
Visible
)) != 0)
820
DataGridViewElementStates.ReadOnly | DataGridViewElementStates.Selected | DataGridViewElementStates.
Visible
)) != 0)
825
DataGridViewElementStates.ReadOnly | DataGridViewElementStates.Selected | DataGridViewElementStates.
Visible
)) != 0)
892
DataGridViewElementStates.ReadOnly | DataGridViewElementStates.Selected | DataGridViewElementStates.
Visible
)) != 0)
897
DataGridViewElementStates.ReadOnly | DataGridViewElementStates.Selected | DataGridViewElementStates.
Visible
)) != 0)
1012
includeFilter == DataGridViewElementStates.
Visible
);
1014
if (includeFilter == DataGridViewElementStates.
Visible
)
1041
includeFilter == DataGridViewElementStates.
Visible
);
1043
if (includeFilter == DataGridViewElementStates.
Visible
)
1205
if ((columnStates & DataGridViewElementStates.
Visible
) != 0)
1211
((columnStates & (DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen)) == (DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen))))
1226
if ((columnStates & (DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen)) == (DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen))
1235
if ((columnStates & (DataGridViewElementStates.
Visible
| DataGridViewElementStates.Selected)) == (DataGridViewElementStates.
Visible
| DataGridViewElementStates.Selected))
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (6)
1462
if (this.Owner.OwningColumn == this.Owner.DataGridView.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
))
1477
DataGridViewElementStates.
Visible
,
1480
DataGridViewElementStates.
Visible
);
1494
if (this.Owner.OwningColumn == this.Owner.DataGridView.Columns.GetLastColumn(DataGridViewElementStates.
Visible
,
1502
DataGridViewElementStates.
Visible
,
1505
DataGridViewElementStates.
Visible
);
winforms\Managed\System\WinForms\DataGridViewDataConnection.cs (1)
1357
if ((this.owner.Rows.GetRowState(rowIndex) & DataGridViewElementStates.
Visible
) == 0)
winforms\Managed\System\WinForms\DataGridViewElement.cs (2)
32
this.state = DataGridViewElementStates.
Visible
;
38
this.state = dgveTemplate.State & (DataGridViewElementStates.Frozen | DataGridViewElementStates.ReadOnly | DataGridViewElementStates.Resizable | DataGridViewElementStates.ResizableSet | DataGridViewElementStates.
Visible
);
winforms\Managed\System\WinForms\DataGridViewHeaderCell.cs (3)
349
state |= DataGridViewElementStates.
Visible
;
371
state |= DataGridViewElementStates.
Visible
;
392
state |= DataGridViewElementStates.
Visible
;
winforms\Managed\System\WinForms\DataGridViewMethods.cs (474)
48
int visibleRowIndex = this.Rows.GetRowCount(DataGridViewElementStates.
Visible
, 0, cellAddress.Y);
49
int visibleColumnIndex = this.Columns.ColumnIndexToActualDisplayIndex(cellAddress.X, DataGridViewElementStates.
Visible
);
359
DataGridViewColumn dataGridViewColumn = this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
);
369
DataGridViewElementStates.
Visible
,
459
for (int rowIndex = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
);
461
rowIndex = this.Rows.GetNextRow(rowIndex, DataGridViewElementStates.
Visible
))
511
int rowIndex = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
516
DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
525
rowIndex = this.Rows.GetNextRow(rowIndex, DataGridViewElementStates.
Visible
);
555
if (this.Columns.GetColumnsWidth(DataGridViewElementStates.
Visible
) > this.layout.Data.Width)
567
dataGridViewColumn == this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
, DataGridViewElementStates.Frozen) ||
568
dataGridViewColumn == this.Columns.GetLastColumn(DataGridViewElementStates.
Visible
, DataGridViewElementStates.Frozen))
937
int totalVisibleRowCount = this.Rows.GetRowCount(DataGridViewElementStates.
Visible
);
938
int totalVisibleHeight = this.Rows.GetRowsHeight(DataGridViewElementStates.
Visible
);
939
int totalVisibleFrozenHeight = this.Rows.GetRowsHeight(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
944
if (this.displayedBandsInfo.NumTotallyDisplayedFrozenRows == this.Rows.GetRowCount(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen) &&
945
this.displayedBandsInfo.NumTotallyDisplayedScrollingRows != totalVisibleRowCount - this.Rows.GetRowCount(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen) &&
1293
for (int rowIndex = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
);
1295
rowIndex = this.Rows.GetNextRow(rowIndex, DataGridViewElementStates.
Visible
))
1311
int rowIndex = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
1317
DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
1331
rowIndex = this.Rows.GetNextRow(rowIndex, DataGridViewElementStates.
Visible
);
1339
int rowAboveFirstVisibleScrollingRow = this.Rows.GetPreviousRow(this.displayedBandsInfo.FirstDisplayedScrollingRow, DataGridViewElementStates.
Visible
, DataGridViewElementStates.Frozen);
1351
rowIndex = this.Rows.GetNextRow(rowIndex, DataGridViewElementStates.
Visible
);
1375
(this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
) == -1 ||
1376
this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
) == null))
1394
for (int rowIndex = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
);
1396
rowIndex = this.Rows.GetNextRow(rowIndex, DataGridViewElementStates.
Visible
))
1400
DataGridViewColumn dataGridViewColumn = this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
);
1408
DataGridViewElementStates.
Visible
,
1425
DataGridViewColumn dataGridViewColumn = this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
);
1430
for (int rowIndex = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
);
1432
rowIndex = this.Rows.GetNextRow(rowIndex, DataGridViewElementStates.
Visible
))
1442
DataGridViewElementStates.
Visible
,
1458
for (int rowIndex = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
);
1460
rowIndex = this.Rows.GetNextRow(rowIndex, DataGridViewElementStates.
Visible
))
1467
DataGridViewColumn dataGridViewColumn = this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
);
1475
DataGridViewElementStates.
Visible
,
1641
DataGridViewColumn dataGridViewColumn = this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
);
1651
DataGridViewElementStates.
Visible
,
2029
rowIndex = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
);
2046
rowIndex = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
2061
DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
2079
rowIndex = this.Rows.GetNextRow(rowIndex, DataGridViewElementStates.
Visible
);
2086
for (rowIndex = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
);
2088
rowIndex = this.Rows.GetNextRow(rowIndex, 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);
2234
DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
2252
rowIndexTmp = this.Rows.GetNextRow(rowIndexTmp, DataGridViewElementStates.
Visible
);
2259
for (rowIndexTmp = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
);
2261
rowIndexTmp = this.Rows.GetNextRow(rowIndexTmp, DataGridViewElementStates.
Visible
))
2435
int rowIndex = this.Rows.GetNextRow(rowIndexStart - 1, DataGridViewElementStates.
Visible
);
2443
rowIndex = this.Rows.GetNextRow(rowIndex, DataGridViewElementStates.
Visible
);
2485
int frozenWidth = this.Columns.GetColumnsWidth(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
2486
int scrollingWidth = this.Columns.GetColumnsWidth(DataGridViewElementStates.
Visible
) - frozenWidth;
3171
int rowIndex = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
);
3254
Debug.Assert(0 == this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
));
3659
DataGridViewColumn firstVisibleFrozenColumn = this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
3666
return this.Columns.GetColumnCount(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen, firstVisibleFrozenColumn.Index, dataGridViewColumn.Index) < this.displayedBandsInfo.NumDisplayedFrozenCols;
3679
return this.Columns.GetColumnCount(DataGridViewElementStates.
Visible
, firstDisplayedScrollingColumnIndex, dataGridViewColumn.Index) < this.displayedBandsInfo.NumDisplayedScrollingCols;
3712
DataGridViewElementStates.
Visible
,
3729
DataGridViewElementStates.
Visible
,
4141
int lastVisibleRowIndex = this.Rows.GetLastRow(DataGridViewElementStates.
Visible
);
4152
if (rowIndex > -1 && (this.Rows.GetRowState(rowIndex) & DataGridViewElementStates.
Visible
) == 0)
4188
if (this.Columns.GetColumnsWidth(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen) >= this.layout.Data.Width)
4195
DataGridViewColumn dataGridViewColumn = this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
, DataGridViewElementStates.Frozen);
4212
DataGridViewElementStates.
Visible
,
4219
dataGridViewColumn = this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
, DataGridViewElementStates.Frozen);
4262
if ((rowState & DataGridViewElementStates.
Visible
) == 0)
4265
DataGridViewElementStates.
Visible
,
4282
DataGridViewElementStates.
Visible
,
4299
int rowIndex = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
, DataGridViewElementStates.Frozen);
4306
rowIndex = this.Rows.GetNextRow(rowIndex, DataGridViewElementStates.
Visible
);
4317
int lastVisibleRowIndex = this.Rows.GetLastRow(DataGridViewElementStates.
Visible
);
4318
return this.Rows.GetRowsHeight(DataGridViewElementStates.
Visible
, this.displayedBandsInfo.FirstDisplayedScrollingRow, lastVisibleRowIndex) +
4505
int totalVisibleHeight = this.Rows.GetRowsHeight(DataGridViewElementStates.
Visible
);
4506
int totalVisibleFrozenHeight = this.Rows.GetRowsHeight(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
4564
if (displayWidth <= 0 || this.Columns.GetColumnCount(DataGridViewElementStates.
Visible
) == 0)
4599
Debug.Assert(cx <= this.Columns.GetColumnsWidth(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen));
4606
dataGridViewColumn = this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
,
4630
DataGridViewElementStates.
Visible
,
4662
DataGridViewElementStates.
Visible
,
4672
DataGridViewElementStates.
Visible
,
4681
DataGridViewElementStates.
Visible
,
4724
DataGridViewElementStates.
Visible
,
4776
(rowState & DataGridViewElementStates.
Visible
) != 0)
4780
if ((rowState & DataGridViewElementStates.
Visible
) != 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
)
5080
DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen,
5084
DataGridViewColumn dataGridViewColumnFirst = this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
);
5094
DataGridViewElementStates.
Visible
,
5102
DataGridViewElementStates.
Visible
,
5110
DataGridViewElementStates.
Visible
,
5127
DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen,
5229
DataGridViewElementStates.
Visible
,
5240
DataGridViewElementStates.
Visible
,
5256
int rowIndexTmp = this.Rows.GetPreviousRow(rowIndexInserted, DataGridViewElementStates.
Visible
);
5263
rowIndexTmp = this.Rows.GetNextRow(rowIndexInserted - 1, DataGridViewElementStates.
Visible
);
5297
DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
5300
int dataGridViewRowFirst = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
);
5310
DataGridViewElementStates.
Visible
,
5318
DataGridViewElementStates.
Visible
,
5326
DataGridViewElementStates.
Visible
);
5342
DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
5487
Debug.Assert((this.Rows.GetRowState(this.newRowIndex) & DataGridViewElementStates.
Visible
) != 0);
5513
int frozenVisibleColumnsWidth = this.Columns.GetColumnsWidth(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
5533
DataGridViewColumn dataGridViewColumn = this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
5542
DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen,
5565
DataGridViewElementStates.
Visible
,
5693
rectInsertionBar.X = GetColumnXFromIndex(this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
).Index);
5702
if (this.Columns.GetNextColumn(this.Columns[this.trackColumnEdge], DataGridViewElementStates.
Visible
, DataGridViewElementStates.None) == null)
6418
Debug.Assert((this.Rows.GetRowState(rowIndex) & DataGridViewElementStates.
Visible
) != 0);
6427
int totalVisibleFrozenHeight = this.Rows.GetRowsHeight(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
6440
if (!this.RowHeadersVisible && this.Columns.GetColumnCount(DataGridViewElementStates.
Visible
) == 0)
6463
rowIndexTmp = this.Rows.GetNextRow(rowIndexTmp, DataGridViewElementStates.
Visible
);
6471
rowIndexTmp = this.Rows.GetPreviousRow(this.displayedBandsInfo.FirstDisplayedScrollingRow, DataGridViewElementStates.
Visible
, DataGridViewElementStates.Frozen);
6475
rowIndexTmp = this.Rows.GetPreviousRow(rowIndexTmp, DataGridViewElementStates.
Visible
, DataGridViewElementStates.Frozen);
6484
rowIndexTmp = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
, DataGridViewElementStates.Frozen);
6489
rowIndexTmp = this.Rows.GetNextRow(rowIndexTmp, DataGridViewElementStates.
Visible
);
6494
rowIndexTmp = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
6502
rowIndexTmp = this.Rows.GetNextRow(rowIndexTmp, DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
6510
rowIndexTmp = this.Rows.GetNextRow(rowIndexTmp, DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
6519
int firstDisplayedFrozenRowIndex = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
6523
lastDisplayedFrozenRowIndex = this.Rows.GetNextRow(firstDisplayedFrozenRowIndex, DataGridViewElementStates.
Visible
, this.displayedBandsInfo.NumDisplayedFrozenRows-2 /*skipRows*/);
6535
lastDisplayedScrollingRowIndex = this.Rows.GetNextRow(this.displayedBandsInfo.FirstDisplayedScrollingRow, DataGridViewElementStates.
Visible
, this.displayedBandsInfo.NumDisplayedScrollingRows - 2 /*skipRows*/);
6555
rowIndexTmp = this.Rows.GetNextRow(rowIndexTmp, DataGridViewElementStates.
Visible
);
6574
rowIndexTmp = this.Rows.GetNextRow(rowIndexTmp, DataGridViewElementStates.
Visible
);
6585
rowIndexTmp = this.Rows.GetNextRow(rowIndexTmp, DataGridViewElementStates.
Visible
, this.displayedBandsInfo.OldNumDisplayedScrollingRows - 1);
6588
rowIndexTmp = this.Rows.GetLastRow(DataGridViewElementStates.
Visible
);
6599
rowIndexTmp = this.Rows.GetPreviousRow(rowIndexTmp, DataGridViewElementStates.
Visible
);
6605
rowIndexTmp = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
6608
rowIndexTmp = this.Rows.GetNextRow(rowIndexTmp, DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen, this.displayedBandsInfo.OldNumDisplayedFrozenRows - 1);
6611
rowIndexTmp = this.Rows.GetLastRow(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
6622
rowIndexTmp = this.Rows.GetPreviousRow(rowIndexTmp, DataGridViewElementStates.
Visible
);
6643
if (!this.ColumnHeadersVisible && this.Rows.GetRowCount(DataGridViewElementStates.
Visible
) == 0)
6665
dataGridViewColumnTmp = this.Columns.GetNextColumn(dataGridViewColumnTmp, DataGridViewElementStates.
Visible
, DataGridViewElementStates.None);
6673
dataGridViewColumnTmp = this.Columns.GetPreviousColumn(this.Columns[this.displayedBandsInfo.FirstDisplayedScrollingCol], DataGridViewElementStates.
Visible
, DataGridViewElementStates.Frozen);
6677
dataGridViewColumnTmp = this.Columns.GetPreviousColumn(dataGridViewColumnTmp, DataGridViewElementStates.
Visible
, DataGridViewElementStates.Frozen);
6686
dataGridViewColumnTmp = this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
, DataGridViewElementStates.Frozen);
6691
dataGridViewColumnTmp = this.Columns.GetNextColumn(dataGridViewColumnTmp, DataGridViewElementStates.
Visible
, DataGridViewElementStates.None);
6696
dataGridViewColumnTmp = this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
6704
dataGridViewColumnTmp = this.Columns.GetNextColumn(dataGridViewColumnTmp, DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen, DataGridViewElementStates.None);
6712
dataGridViewColumnTmp = this.Columns.GetNextColumn(dataGridViewColumnTmp, DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen, DataGridViewElementStates.None);
6733
dataGridViewColumnTmp = this.Columns.GetNextColumn(dataGridViewColumnTmp, DataGridViewElementStates.
Visible
, DataGridViewElementStates.None);
6754
dataGridViewColumnTmp = this.Columns.GetNextColumn(dataGridViewColumnTmp, DataGridViewElementStates.
Visible
, DataGridViewElementStates.None);
6768
dataGridViewColumnTmp = this.Columns.GetPreviousColumn(dataGridViewColumnTmp, DataGridViewElementStates.
Visible
, DataGridViewElementStates.None);
6913
DataGridViewElementStates.ReadOnly | DataGridViewElementStates.Selected | DataGridViewElementStates.
Visible
)) != 0)
6951
visibleRequired = (includeFilter & DataGridViewElementStates.
Visible
) == DataGridViewElementStates.
Visible
;
7014
visibleRequired = (includeFilter & DataGridViewElementStates.
Visible
) == DataGridViewElementStates.
Visible
;
7019
if (!visibleRequired || (this.Rows.GetRowState(rowIndex) & DataGridViewElementStates.
Visible
) != 0)
7083
bool cellVisible = (rowState & DataGridViewElementStates.
Visible
) != 0 &&
7235
if (this.Rows.GetRowCount(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Selected) == 0)
7242
includeColumnHeaders = (this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
, DataGridViewElementStates.Selected) == -1);
7277
dataGridViewColumn = this.Columns.GetLastColumn(DataGridViewElementStates.
Visible
, DataGridViewElementStates.None);
7280
prevDataGridViewColumn = this.Columns.GetPreviousColumn(dataGridViewColumn, DataGridViewElementStates.
Visible
, DataGridViewElementStates.None);
7294
prevDataGridViewColumn = this.Columns.GetPreviousColumn(dataGridViewColumn, DataGridViewElementStates.
Visible
, DataGridViewElementStates.None);
7310
this.Columns.GetColumnCount(DataGridViewElementStates.
Visible
) == 0 /*firstCell*/,
7327
this.Columns.GetColumnCount(DataGridViewElementStates.
Visible
) == 0 /*lastCell*/,
7337
dataGridViewColumn = this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
);
7340
nextDataGridViewColumn = this.Columns.GetNextColumn(dataGridViewColumn, DataGridViewElementStates.
Visible
, DataGridViewElementStates.None);
7354
nextDataGridViewColumn = this.Columns.GetNextColumn(dataGridViewColumn, DataGridViewElementStates.
Visible
, DataGridViewElementStates.None);
7371
int rowIndex = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Selected);
7373
int nextRowIndex = this.Rows.GetNextRow(rowIndex, DataGridViewElementStates.
Visible
| DataGridViewElementStates.Selected);
7378
dataGridViewColumn = this.Columns.GetLastColumn(DataGridViewElementStates.
Visible
, DataGridViewElementStates.None);
7383
prevDataGridViewColumn = this.Columns.GetPreviousColumn(dataGridViewColumn, DataGridViewElementStates.
Visible
, DataGridViewElementStates.None);
7397
prevDataGridViewColumn = this.Columns.GetPreviousColumn(dataGridViewColumn, DataGridViewElementStates.
Visible
, DataGridViewElementStates.None);
7415
this.Columns.GetColumnCount(DataGridViewElementStates.
Visible
) == 0 /*firstCell*/,
7428
dataGridViewColumn = this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
);
7448
nextDataGridViewColumn = this.Columns.GetNextColumn(dataGridViewColumn, DataGridViewElementStates.
Visible
, DataGridViewElementStates.None);
7462
nextDataGridViewColumn = this.Columns.GetNextColumn(dataGridViewColumn, DataGridViewElementStates.
Visible
, DataGridViewElementStates.None);
7479
nextRowIndex = this.Rows.GetNextRow(rowIndex, DataGridViewElementStates.
Visible
| DataGridViewElementStates.Selected);
7497
if (this.Columns.GetColumnCount(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Selected) == 0)
7505
includeRowHeaders = (this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
, DataGridViewElementStates.Selected) == null);
7515
int firstVisibleRowIndex = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
);
7541
DataGridViewColumn lastDataGridViewColumn = this.Columns.GetLastColumn(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Selected, DataGridViewElementStates.None);
7546
prevDataGridViewColumn = this.Columns.GetPreviousColumn(dataGridViewColumn, DataGridViewElementStates.
Visible
| DataGridViewElementStates.Selected, DataGridViewElementStates.None);
7560
prevDataGridViewColumn = this.Columns.GetPreviousColumn(dataGridViewColumn, DataGridViewElementStates.
Visible
| DataGridViewElementStates.Selected, DataGridViewElementStates.None);
7589
dataGridViewColumn = this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Selected);
7608
nextDataGridViewColumn = this.Columns.GetNextColumn(dataGridViewColumn, DataGridViewElementStates.
Visible
| DataGridViewElementStates.Selected, DataGridViewElementStates.None);
7622
nextDataGridViewColumn = this.Columns.GetNextColumn(dataGridViewColumn, DataGridViewElementStates.
Visible
| DataGridViewElementStates.Selected, DataGridViewElementStates.None);
7643
nextRowIndex = this.Rows.GetNextRow(rowIndex, DataGridViewElementStates.
Visible
);
7649
DataGridViewColumn lastDataGridViewColumn = this.Columns.GetLastColumn(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Selected, DataGridViewElementStates.None);
7655
prevDataGridViewColumn = this.Columns.GetPreviousColumn(dataGridViewColumn, DataGridViewElementStates.
Visible
| DataGridViewElementStates.Selected, DataGridViewElementStates.None);
7669
prevDataGridViewColumn = this.Columns.GetPreviousColumn(dataGridViewColumn, DataGridViewElementStates.
Visible
| DataGridViewElementStates.Selected, DataGridViewElementStates.None);
7700
dataGridViewColumn = this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Selected);
7720
nextDataGridViewColumn = this.Columns.GetNextColumn(dataGridViewColumn, DataGridViewElementStates.
Visible
| DataGridViewElementStates.Selected, DataGridViewElementStates.None);
7734
nextDataGridViewColumn = this.Columns.GetNextColumn(dataGridViewColumn, DataGridViewElementStates.
Visible
| DataGridViewElementStates.Selected, DataGridViewElementStates.None);
7751
nextRowIndex = this.Rows.GetNextRow(rowIndex, DataGridViewElementStates.
Visible
);
7776
selectedVisibleRowExists = this.Rows.GetRowCount(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Selected) != 0;
7777
selectedVisibleCellExists = selectedVisibleRowExists && this.Columns.GetColumnCount(DataGridViewElementStates.
Visible
) != 0;
7781
selectedVisibleColumnExists = this.Columns.GetColumnCount(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Selected) != 0;
7782
selectedVisibleCellExists = selectedVisibleColumnExists && this.Rows.GetRowCount(DataGridViewElementStates.
Visible
) != 0;
7905
DataGridViewColumn firstVisibleColumn = this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
);
7906
DataGridViewColumn lastVisibleColumn = this.Columns.GetLastColumn(DataGridViewElementStates.
Visible
, DataGridViewElementStates.None);
7912
if ((this.Rows.GetRowState(rowIndex) & DataGridViewElementStates.
Visible
) != 0)
7929
firstVisibleRowIndex = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
);
7930
int lastVisibleRowIndex = this.Rows.GetLastRow(DataGridViewElementStates.
Visible
);
8012
prevDataGridViewColumn = this.Columns.GetPreviousColumn(dataGridViewColumn, DataGridViewElementStates.
Visible
, DataGridViewElementStates.None);
8067
nextDataGridViewColumn = this.Columns.GetNextColumn(dataGridViewColumn, DataGridViewElementStates.
Visible
, DataGridViewElementStates.None);
8097
nextRowIndex = this.Rows.GetNextRow(rowIndex, DataGridViewElementStates.
Visible
);
8114
prevDataGridViewColumn = this.Columns.GetPreviousColumn(dataGridViewColumn, DataGridViewElementStates.
Visible
, DataGridViewElementStates.None);
8174
nextDataGridViewColumn = this.Columns.GetNextColumn(dataGridViewColumn, DataGridViewElementStates.
Visible
, DataGridViewElementStates.None);
8274
for (dataGridViewColumn = this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
8298
DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen,
8340
DataGridViewElementStates.
Visible
,
8420
DataGridViewColumn dataGridViewColumn = this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
8443
DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen,
8483
DataGridViewElementStates.
Visible
,
8538
DataGridViewColumn dataGridViewColumn = this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
8554
DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen,
8575
dataGridViewColumn = this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
, DataGridViewElementStates.Frozen);
8594
DataGridViewElementStates.
Visible
,
8602
DataGridViewElementStates.
Visible
,
8619
DataGridViewElementStates.
Visible
,
8629
DataGridViewColumn dataGridViewColumn = this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
, DataGridViewElementStates.Frozen);
8633
dataGridViewColumn = this.Columns.GetNextColumn(dataGridViewColumn, DataGridViewElementStates.
Visible
, DataGridViewElementStates.None);
8642
int visibleRowsHeight = this.Rows.GetRowsHeight(DataGridViewElementStates.
Visible
);
8643
int frozenVisibleRowsHeight = this.Rows.GetRowsHeight(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
8646
int emptyBackgroundWidth = Math.Max(0, this.layout.Data.Width - this.Columns.GetColumnsWidth(DataGridViewElementStates.
Visible
));
8681
int firstUnfrozenRowIndex = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
, DataGridViewElementStates.Frozen);
8689
DataGridViewColumn dataGridViewColumn = this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
);
8778
int firstUnfrozenColumnIndex = this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
, DataGridViewElementStates.Frozen).Index;
8786
firstRowIndex = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
);
8809
this.Columns.GetPreviousColumn(this.Columns[this.displayedBandsInfo.FirstDisplayedScrollingCol], DataGridViewElementStates.
Visible
, DataGridViewElementStates.Frozen) != null))
8835
this.Columns.GetNextColumn(this.Columns[this.displayedBandsInfo.LastTotallyDisplayedScrollingCol], DataGridViewElementStates.
Visible
, DataGridViewElementStates.None) == null)
8842
DataGridViewElementStates.
Visible
,
8845
for (DataGridViewColumn dataGridViewColumn = this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
,
8849
DataGridViewElementStates.
Visible
,
8955
this.Columns.GetPreviousColumn(this.Columns[this.displayedBandsInfo.FirstDisplayedScrollingCol], DataGridViewElementStates.
Visible
, DataGridViewElementStates.Frozen) != null)
8991
this.Columns.GetNextColumn(this.Columns[this.displayedBandsInfo.LastTotallyDisplayedScrollingCol], DataGridViewElementStates.
Visible
, DataGridViewElementStates.None) != null))
8994
DataGridViewElementStates.
Visible
,
8997
for (DataGridViewColumn dataGridViewColumn = this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
,
9001
DataGridViewElementStates.
Visible
,
9080
int preferredWidth = Math.Min(minimumWidth + this.Columns.GetColumnsWidth(DataGridViewElementStates.
Visible
), proposedConstraints.Width);
9095
int preferredHeight = Math.Min(minimumHeight + this.Rows.GetRowsHeight(DataGridViewElementStates.
Visible
), proposedConstraints.Height);
9128
for (indexTmp = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
9143
indexTmp = this.Rows.GetNextRow(indexTmp, DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
9164
indexTmp = this.Rows.GetNextRow(indexTmp, DataGridViewElementStates.
Visible
);
9213
int indexTmp = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
9224
DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
9231
Debug.Assert((this.Rows.GetRowState(indexTmp) & DataGridViewElementStates.
Visible
) != 0 &&
9244
DataGridViewElementStates.
Visible
);
9284
Debug.Assert((this.Rows.GetRowState(index) & DataGridViewElementStates.
Visible
) != 0);
9288
int indexTmp = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
9297
DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
9318
indexTmp = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
, DataGridViewElementStates.Frozen);
9324
Debug.Assert((this.Rows.GetRowState(indexTmp) & DataGridViewElementStates.
Visible
) != 0 &&
9334
indexTmp = this.Rows.GetNextRow(indexTmp, DataGridViewElementStates.
Visible
);
9342
DataGridViewElementStates.
Visible
,
9352
DataGridViewElementStates.
Visible
,
9487
DataGridViewElementStates.
Visible
,
9580
indexTmp = this.Rows.GetPreviousRow(hti.row, DataGridViewElementStates.
Visible
);
9663
DataGridViewElementStates.
Visible
,
9705
DataGridViewColumn dataGridViewColumn = this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
);
9741
DataGridViewElementStates.
Visible
);
9764
int rowIndex = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
);
10067
if (this.Rows.GetRowCount(DataGridViewElementStates.
Visible
) == 0)
10078
if ((this.Rows.GetRowState(lo) & DataGridViewElementStates.
Visible
) == 0)
10080
lo = this.Rows.GetNextRow(lo, DataGridViewElementStates.
Visible
);
10090
if ((this.Rows.GetRowState(hi) & DataGridViewElementStates.
Visible
) == 0)
10092
hi = this.Rows.GetPreviousRow(hi, DataGridViewElementStates.
Visible
);
10115
this.Rows.GetRowCount(DataGridViewElementStates.
Visible
,
10151
else if (this.Rows.GetRowCount(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen) == 0)
10166
if ((this.Rows.GetRowState(i) & DataGridViewElementStates.
Visible
) == 0)
10336
int totalVisibleColCount = this.Columns.GetColumnCount(DataGridViewElementStates.
Visible
);
10337
int totalVisibleRowCount = this.Rows.GetRowCount(DataGridViewElementStates.
Visible
);
10338
int totalVisibleWidth = this.Columns.GetColumnsWidth(DataGridViewElementStates.
Visible
);
10339
int totalVisibleFrozenWidth = this.Columns.GetColumnsWidth(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
10342
int totalVisibleHeight = this.Rows.GetRowsHeight(DataGridViewElementStates.
Visible
);
10343
int totalVisibleFrozenHeight = this.Rows.GetRowsHeight(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
10362
if (this.displayedBandsInfo.NumTotallyDisplayedFrozenRows == this.Rows.GetRowCount(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen) &&
10363
this.displayedBandsInfo.NumTotallyDisplayedScrollingRows != totalVisibleRowCount - this.Rows.GetRowCount(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen) &&
10390
this.displayedBandsInfo.NumTotallyDisplayedFrozenRows == this.Rows.GetRowCount(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen) &&
10391
this.displayedBandsInfo.NumTotallyDisplayedScrollingRows != totalVisibleRowCount - this.Rows.GetRowCount(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen) &&
10442
if (this.displayedBandsInfo.NumTotallyDisplayedFrozenRows == this.Rows.GetRowCount(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen) &&
10801
if ((rowState & DataGridViewElementStates.
Visible
) != 0)
10826
if (this.Rows.GetRowCount(DataGridViewElementStates.
Visible
) > 1)
11518
for (int rowIndex = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
);
11520
rowIndex = this.Rows.GetNextRow(rowIndex, DataGridViewElementStates.
Visible
))
12461
DataGridViewColumn dataGridViewLastVisibleColumn = this.Columns.GetLastColumn(DataGridViewElementStates.
Visible
,
12477
int lastVisibleRowIndex = this.Rows.GetLastRow(DataGridViewElementStates.
Visible
);
14177
int rowIndex = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
);
14616
DataGridViewColumn dataGridViewColumn = this.Columns.GetNextColumn(this.Columns[this.trackColumnEdge], DataGridViewElementStates.
Visible
, DataGridViewElementStates.None);
14623
DataGridViewColumn dataGridViewColumn = this.Columns.GetNextColumn(this.Columns[hti.col], DataGridViewElementStates.
Visible
, DataGridViewElementStates.None);
14630
DataGridViewColumn dataGridViewColumn = this.Columns.GetNextColumn(this.Columns[this.trackColumn], DataGridViewElementStates.
Visible
, DataGridViewElementStates.None);
14637
DataGridViewColumn dataGridViewColumn = this.Columns.GetPreviousColumn(this.Columns[this.trackColumnEdge], DataGridViewElementStates.
Visible
, DataGridViewElementStates.None);
14644
DataGridViewColumn dataGridViewColumn = this.Columns.GetPreviousColumn(this.Columns[hti.col], DataGridViewElementStates.
Visible
, DataGridViewElementStates.None);
14651
DataGridViewColumn dataGridViewColumn = this.Columns.GetPreviousColumn(this.Columns[this.trackColumn], DataGridViewElementStates.
Visible
, DataGridViewElementStates.None);
14658
DataGridViewColumn dataGridViewColumn = this.Columns.GetNextColumn(this.Columns[this.trackColumn], DataGridViewElementStates.
Visible
, DataGridViewElementStates.None);
14661
dataGridViewColumn = this.Columns.GetPreviousColumn(this.Columns[this.trackColumn], DataGridViewElementStates.
Visible
, DataGridViewElementStates.None);
14668
DataGridViewColumn dataGridViewColumn = this.Columns.GetPreviousColumn(this.Columns[this.trackColumn], DataGridViewElementStates.
Visible
, DataGridViewElementStates.None);
14671
dataGridViewColumn = this.Columns.GetNextColumn(this.Columns[this.trackColumn], DataGridViewElementStates.
Visible
, DataGridViewElementStates.None);
14832
case DataGridViewElementStates.
Visible
:
15191
case DataGridViewElementStates.
Visible
:
15192
if (elementState == DataGridViewElementStates.
Visible
)
15266
case DataGridViewElementStates.
Visible
:
15267
if (elementState == DataGridViewElementStates.
Visible
&& this.ptCurrentCell.Y == rowIndex)
15269
Debug.Assert((this.Rows.GetRowState(rowIndex) & DataGridViewElementStates.
Visible
) != 0);
15496
int totalVisibleHeight = this.Rows.GetRowsHeight(DataGridViewElementStates.
Visible
);
15497
int totalVisibleFrozenHeight = this.Rows.GetRowsHeight(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
15779
this.Columns.GetColumnCount(DataGridViewElementStates.
Visible
) == 1 /*forceCurrentCellSelection*/);
15816
this.Rows.GetRowCount(DataGridViewElementStates.
Visible
) == 1 /*forceCurrentCellSelection*/);
17021
int totalVisibleFrozenHeight = this.Rows.GetRowsHeight(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
17028
Debug.Assert(totalVisibleFrozenHeight == this.Rows.GetRowsHeight(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen));
17488
DataGridViewElementStates.
Visible
,
17505
DataGridViewElementStates.
Visible
,
17701
int rowIndexPrevious = this.Rows.GetPreviousRow(rowIndexDeleted, DataGridViewElementStates.
Visible
);
17702
int rowIndexNext = this.Rows.GetNextRow(rowIndexDeleted, DataGridViewElementStates.
Visible
);
17994
invalidatePreferredSizeCache = ((rowState & DataGridViewElementStates.
Visible
) != 0);
18258
if ((rowState & DataGridViewElementStates.
Visible
) == 0)
18361
(this.rowHeadersWidthSizeMode == DataGridViewRowHeadersWidthSizeMode.AutoSizeToFirstHeader && rowIndex != -1 && rowIndex == this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
)))
18432
DataGridViewColumn dataGridViewColumn = this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
);
18483
int lastVisibleRowIndex = this.Rows.GetLastRow(DataGridViewElementStates.
Visible
);
18505
else if ((this.Rows.GetRowState(hti.row) & DataGridViewElementStates.
Visible
) == 0)
18958
SelectRowRange(this.Rows.GetNextRow(this.trackRowEdge, DataGridViewElementStates.
Visible
),
18964
SelectRowRange(this.Rows.GetNextRow(hti.row, DataGridViewElementStates.
Visible
),
18970
SelectRowRange(this.Rows.GetNextRow(this.trackRow, DataGridViewElementStates.
Visible
),
18977
this.Rows.GetPreviousRow(this.trackRowEdge, DataGridViewElementStates.
Visible
),
18984
this.Rows.GetPreviousRow(hti.row, DataGridViewElementStates.
Visible
),
18991
this.Rows.GetPreviousRow(this.trackRow, DataGridViewElementStates.
Visible
),
18997
SelectRowRange(this.Rows.GetNextRow(this.trackRow, DataGridViewElementStates.
Visible
),
19000
this.Rows.GetPreviousRow(this.trackRow, DataGridViewElementStates.
Visible
),
19007
this.Rows.GetPreviousRow(this.trackRow, DataGridViewElementStates.
Visible
),
19009
SelectRowRange(this.Rows.GetNextRow(this.trackRow, DataGridViewElementStates.
Visible
),
19109
rowVisible = ((newState & DataGridViewElementStates.
Visible
) != 0);
19138
case DataGridViewElementStates.
Visible
:
19187
if (rowVisible && this.Rows.GetRowCount(DataGridViewElementStates.
Visible
) > 1)
19399
int rowIndex = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
, DataGridViewElementStates.Frozen);
19405
rowIndex = this.Rows.GetNextRow(rowIndex, DataGridViewElementStates.
Visible
);
19649
int rowIndex = this.Rows.GetPreviousRow(this.ptCurrentCell.Y, DataGridViewElementStates.
Visible
);
19694
rowIndexTmp = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
19715
rowIndexTmp = this.Rows.GetNextRow(rowIndexTmp, DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
19725
Debug.Assert((this.Rows.GetRowState(rowIndexTmp) & DataGridViewElementStates.
Visible
) != 0);
19748
rowIndexTmp = this.Rows.GetNextRow(rowIndexTmp, DataGridViewElementStates.
Visible
);
19903
DataGridViewColumn dataGridViewColumn = this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
19925
DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen,
20002
DataGridViewElementStates.
Visible
,
20119
indexTmp = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
20144
indexTmpNext = this.Rows.GetNextRow(indexTmp, DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
20171
Debug.Assert((this.Rows.GetRowState(indexTmp) & DataGridViewElementStates.
Visible
) != 0);
20196
indexTmpNext = this.Rows.GetNextRow(indexTmp, DataGridViewElementStates.
Visible
);
20373
int totalVisibleFrozenWidth = this.Columns.GetColumnsWidth(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
20382
int totalVisibleFrozenHeight = this.Rows.GetRowsHeight(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
20707
DataGridViewColumn dataGridViewColumn = this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
);
20709
int lastVisibleRowIndex = this.Rows.GetLastRow(DataGridViewElementStates.
Visible
);
20718
nextVisibleRowIndex = this.Rows.GetNextRow(this.ptCurrentCell.Y, DataGridViewElementStates.
Visible
);
21550
DataGridViewColumn dataGridViewColumn = this.Columns.GetLastColumn(DataGridViewElementStates.
Visible
,
21553
int firstVisibleRowIndex = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
);
21554
int lastVisibleRowIndex = this.Rows.GetLastRow(DataGridViewElementStates.
Visible
);
22006
DataGridViewColumn dataGridViewColumn = this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
);
22008
int firstVisibleRowIndex = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
);
22507
DataGridViewColumn dataGridViewColumn = this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
);
22509
int firstVisibleRowIndex = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
);
22518
DataGridViewElementStates.
Visible
,
23245
DataGridViewColumn dataGridViewColumn = this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
);
23254
nextScreenVisibleRowIndex = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
);
23269
int firstDisplayedScrollingRowIndex = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
, DataGridViewElementStates.Frozen);
23276
jumpRows = this.Rows.GetRowCount(DataGridViewElementStates.
Visible
,
23295
nextScreenVisibleRowIndexTmp = this.Rows.GetNextRow(nextScreenVisibleRowIndex, DataGridViewElementStates.
Visible
);
23485
DataGridViewColumn dataGridViewColumn = this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
);
23494
previousScreenVisibleRowIndex = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
);
23522
previousScreenVisibleRowIndexTmp = this.Rows.GetPreviousRow(previousScreenVisibleRowIndex, DataGridViewElementStates.
Visible
);
23533
int firstDisplayedScrollingRowIndex = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
, DataGridViewElementStates.Frozen);
23541
previousScreenVisibleRowIndex = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
23745
DataGridViewColumn dataGridViewColumn = this.Columns.GetLastColumn(DataGridViewElementStates.
Visible
,
23748
int firstVisibleRowIndex = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
);
23757
DataGridViewElementStates.
Visible
,
24743
DataGridViewColumn dataGridViewColumn = this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
);
24745
int firstVisibleRowIndex = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
);
24753
previousVisibleRowIndex = this.Rows.GetPreviousRow(this.ptCurrentCell.Y, DataGridViewElementStates.
Visible
);
26043
for (int rowIndex = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
);
26045
rowIndex = this.Rows.GetNextRow(rowIndex, DataGridViewElementStates.
Visible
))
26085
if ((rowState & DataGridViewElementStates.
Visible
) == 0)
26141
columnsToScroll = this.Columns.GetColumnCount(DataGridViewElementStates.
Visible
, columnIndex, this.displayedBandsInfo.FirstDisplayedScrollingCol);
26189
DataGridViewElementStates.
Visible
,
26208
DataGridViewElementStates.
Visible
,
26237
DataGridViewElementStates.
Visible
,
26254
DataGridViewElementStates.
Visible
,
26273
DataGridViewElementStates.
Visible
,
26294
for (DataGridViewColumn dataGridViewColumn = this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
,
26298
DataGridViewElementStates.
Visible
,
26315
Debug.Assert((this.Rows.GetRowState(rowIndex) & DataGridViewElementStates.
Visible
) != 0);
26386
rowsToScroll = this.Rows.GetRowCount(DataGridViewElementStates.
Visible
, rowIndex, this.displayedBandsInfo.FirstDisplayedScrollingRow);
26401
firstDisplayedScrollingRow = this.Rows.GetNextRow(firstDisplayedScrollingRow, DataGridViewElementStates.
Visible
);
26426
Debug.Assert(this.displayedBandsInfo.FirstDisplayedScrollingRow >= this.Rows.GetRowCount(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen));
26433
int frozenRowsThickness = this.Rows.GetRowsHeight(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
26483
int firstVisibleScrollingRow = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
, DataGridViewElementStates.Frozen);
26485
int newScrolledOffRowCount = this.Rows.GetRowCount(DataGridViewElementStates.
Visible
, firstVisibleScrollingRow, this.displayedBandsInfo.FirstDisplayedScrollingRow);
26506
DataGridViewElementStates.
Visible
);
26520
deltaY = -this.Rows.GetRowsHeight(DataGridViewElementStates.
Visible
, oldFirstVisibleScrollingRow, this.displayedBandsInfo.FirstDisplayedScrollingRow);
26521
rows = this.Rows.GetRowCount(DataGridViewElementStates.
Visible
, oldFirstVisibleScrollingRow, this.displayedBandsInfo.FirstDisplayedScrollingRow);
26535
DataGridViewElementStates.
Visible
,
26569
newFirstVisibleScrollingRow = this.Rows.GetNextRow(newFirstVisibleScrollingRow, DataGridViewElementStates.
Visible
);
26583
DataGridViewElementStates.
Visible
,
26590
DataGridViewElementStates.
Visible
,
26616
scrollHeight = this.Rows.GetRowsHeight(DataGridViewElementStates.
Visible
, oldFirstVisibleScrollingRow, this.displayedBandsInfo.FirstDisplayedScrollingRow);
26617
rowCount = this.Rows.GetRowCount(DataGridViewElementStates.
Visible
, oldFirstVisibleScrollingRow, this.displayedBandsInfo.FirstDisplayedScrollingRow);
26622
scrollHeight = -this.Rows.GetRowsHeight(DataGridViewElementStates.
Visible
, this.displayedBandsInfo.FirstDisplayedScrollingRow, oldFirstVisibleScrollingRow);
26623
rowCount = -this.Rows.GetRowCount(DataGridViewElementStates.
Visible
, this.displayedBandsInfo.FirstDisplayedScrollingRow, oldFirstVisibleScrollingRow);
26711
DataGridViewColumn dataGridViewColumn = this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
);
26712
int firstVisibleRowIndex = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
);
27221
DataGridViewElementStates.
Visible
,
27249
DataGridViewElementStates.
Visible
,
27329
DataGridViewElementStates.
Visible
,
27750
(this.Rows.GetRowState(rowIndex) & DataGridViewElementStates.
Visible
) == 0)
28248
int visibleFrozenRows = this.Rows.GetRowCount(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
28251
int rowVFIndex = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
28254
Debug.Assert(0 == this.Rows.GetRowCount(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen));
28309
int rowVIndex = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
);
28313
rowVIndex = this.Rows.GetNextRow(rowVIndex, DataGridViewElementStates.
Visible
);
28486
int totalVisibleFrozenHeight = this.Rows.GetRowsHeight(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
28545
DataGridViewColumn dataGridViewColumn = this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
);
28547
int firstVisibleRowIndex = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
);
28556
DataGridViewElementStates.
Visible
,
28566
nextVisibleRowIndex = this.Rows.GetNextRow(this.ptCurrentCell.Y, DataGridViewElementStates.
Visible
);
28701
DataGridViewColumn dataGridViewColumn = this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
);
28703
int firstVisibleRowIndex = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
);
28713
DataGridViewElementStates.
Visible
,
28724
previousVisibleRowIndex = this.Rows.GetPreviousRow(this.ptCurrentCell.Y, DataGridViewElementStates.
Visible
);
28727
dataGridViewColumn = this.Columns.GetLastColumn(DataGridViewElementStates.
Visible
,
28731
int lastVisibleRowIndex = this.Rows.GetLastRow(DataGridViewElementStates.
Visible
);
28944
dataGridViewColumnTmp = this.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
28953
dataGridViewColumnTmp = this.Columns.GetNextColumn(dataGridViewColumnTmp, DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen, DataGridViewElementStates.None);
28973
dataGridViewColumnTmp = this.Columns.GetNextColumn(dataGridViewColumnTmp, DataGridViewElementStates.
Visible
, DataGridViewElementStates.None);
29040
bool rowVisible = (rowIndex >= 0 && (this.Rows.GetRowState(rowIndex) & DataGridViewElementStates.
Visible
) != 0);
29074
rowIndex = this.Rows.GetNextRow(rowIndex, DataGridViewElementStates.
Visible
);
29158
rowIndexTmp = this.Rows.GetFirstRow(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
29166
rowIndexTmp = this.Rows.GetNextRow(rowIndexTmp, DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
29184
rowIndexTmp = this.Rows.GetNextRow(rowIndexTmp, DataGridViewElementStates.
Visible
);
29278
DataGridViewColumn dataGridViewColumn = this.Columns.GetNextColumn(this.Columns[oldEdgeColumnIndex], DataGridViewElementStates.
Visible
, DataGridViewElementStates.None);
29295
DataGridViewColumn dataGridViewColumn = this.Columns.GetPreviousColumn(this.Columns[oldEdgeColumnIndex], DataGridViewElementStates.
Visible
, DataGridViewElementStates.None);
29315
this.Rows.GetNextRow(oldEdgeRowIndex, DataGridViewElementStates.
Visible
),
29324
this.Rows.GetNextRow(oldEdgeRowIndex, DataGridViewElementStates.
Visible
),
29340
this.Rows.GetPreviousRow(oldEdgeRowIndex, DataGridViewElementStates.
Visible
),
29349
this.Rows.GetPreviousRow(oldEdgeRowIndex, DataGridViewElementStates.
Visible
),
29358
DataGridViewColumn dataGridViewColumn = this.Columns.GetNextColumn(this.Columns[oldEdgeColumnIndex], DataGridViewElementStates.
Visible
, DataGridViewElementStates.None);
29362
this.Rows.GetNextRow(oldEdgeRowIndex, DataGridViewElementStates.
Visible
),
29373
DataGridViewColumn dataGridViewColumn = this.Columns.GetNextColumn(this.Columns[oldEdgeColumnIndex], DataGridViewElementStates.
Visible
, DataGridViewElementStates.None);
29379
this.Rows.GetPreviousRow(oldEdgeRowIndex, DataGridViewElementStates.
Visible
),
29395
DataGridViewColumn dataGridViewColumn = this.Columns.GetPreviousColumn(this.Columns[newEdgeColumnIndex], DataGridViewElementStates.
Visible
, DataGridViewElementStates.None);
29402
this.Rows.GetPreviousRow(oldEdgeRowIndex, DataGridViewElementStates.
Visible
),
29414
DataGridViewColumn dataGridViewColumn = this.Columns.GetPreviousColumn(this.Columns[oldEdgeColumnIndex], DataGridViewElementStates.
Visible
, DataGridViewElementStates.None);
29420
this.Rows.GetPreviousRow(oldEdgeRowIndex, DataGridViewElementStates.
Visible
),
29428
DataGridViewColumn dataGridViewColumn = this.Columns.GetNextColumn(this.Columns[newEdgeColumnIndex], DataGridViewElementStates.
Visible
, DataGridViewElementStates.None);
29435
this.Rows.GetPreviousRow(oldEdgeRowIndex, DataGridViewElementStates.
Visible
),
29451
DataGridViewColumn dataGridViewColumn = this.Columns.GetPreviousColumn(this.Columns[oldEdgeColumnIndex], DataGridViewElementStates.
Visible
, DataGridViewElementStates.None);
29455
this.Rows.GetNextRow(oldEdgeRowIndex, DataGridViewElementStates.
Visible
),
29462
DataGridViewColumn dataGridViewColumn = this.Columns.GetNextColumn(this.Columns[newEdgeColumnIndex], DataGridViewElementStates.
Visible
, DataGridViewElementStates.None);
29495
this.Rows.GetNextRow(newEdgeRowIndex, DataGridViewElementStates.
Visible
),
29504
dataGridViewColumn = this.Columns.GetPreviousColumn(this.Columns[oldEdgeColumnIndex], DataGridViewElementStates.
Visible
, DataGridViewElementStates.None);
29507
this.Rows.GetNextRow(newEdgeRowIndex, DataGridViewElementStates.
Visible
),
29534
this.Rows.GetPreviousRow(newEdgeRowIndex, DataGridViewElementStates.
Visible
),
29544
dataGridViewColumn = this.Columns.GetPreviousColumn(this.Columns[oldEdgeColumnIndex], DataGridViewElementStates.
Visible
, DataGridViewElementStates.None);
29549
this.Rows.GetPreviousRow(newEdgeRowIndex, DataGridViewElementStates.
Visible
),
29569
this.Rows.GetNextRow(anchorRowIndex, DataGridViewElementStates.
Visible
),
29579
DataGridViewColumn dataGridViewColumn = this.Columns.GetPreviousColumn(this.Columns[newEdgeColumnIndex], DataGridViewElementStates.
Visible
, DataGridViewElementStates.None);
29606
this.Rows.GetNextRow(newEdgeRowIndex, DataGridViewElementStates.
Visible
),
29618
dataGridViewColumn = this.Columns.GetNextColumn(this.Columns[oldEdgeColumnIndex], DataGridViewElementStates.
Visible
, DataGridViewElementStates.None);
29621
this.Rows.GetNextRow(newEdgeRowIndex, DataGridViewElementStates.
Visible
),
29647
this.Rows.GetPreviousRow(newEdgeRowIndex, DataGridViewElementStates.
Visible
),
29657
dataGridViewColumn = this.Columns.GetNextColumn(this.Columns[oldEdgeColumnIndex], DataGridViewElementStates.
Visible
, DataGridViewElementStates.None);
29662
this.Rows.GetPreviousRow(newEdgeRowIndex, DataGridViewElementStates.
Visible
),
29681
this.Rows.GetNextRow(oldEdgeRowIndex, DataGridViewElementStates.
Visible
),
29701
this.Rows.GetPreviousRow(newEdgeRowIndex, DataGridViewElementStates.
Visible
),
29709
this.Rows.GetPreviousRow(newEdgeRowIndex, DataGridViewElementStates.
Visible
),
29725
this.Rows.GetNextRow(newEdgeRowIndex, DataGridViewElementStates.
Visible
),
29733
this.Rows.GetNextRow(newEdgeRowIndex, DataGridViewElementStates.
Visible
),
winforms\Managed\System\WinForms\DataGridViewRow.cs (15)
1494
return (GetState(rowIndex) & DataGridViewElementStates.
Visible
) != 0;
1615
DataGridViewColumn dataGridViewColumn = dataGridView.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen);
1635
DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen,
1722
DataGridViewElementStates.
Visible
,
1938
int visibleRowIndex = this.owner.DataGridView.Rows.GetRowCount(DataGridViewElementStates.
Visible
, 0, this.owner.Index);
1957
int visibleRowIndex = this.owner.DataGridView.Rows.GetRowCount(DataGridViewElementStates.
Visible
, 0, this.owner.Index);
2183
int columnIndex = this.owner.DataGridView.Columns.ActualDisplayIndexToColumnIndex(index, DataGridViewElementStates.
Visible
);
2195
int result = this.owner.DataGridView.Columns.GetColumnCount(DataGridViewElementStates.
Visible
);
2241
if (this.owner.Index != this.owner.DataGridView.Rows.GetLastRow(DataGridViewElementStates.
Visible
))
2243
int nextVisibleRow = this.owner.DataGridView.Rows.GetNextRow(this.owner.Index, DataGridViewElementStates.
Visible
);
2244
int actualDisplayIndex = this.owner.DataGridView.Rows.GetRowCount(DataGridViewElementStates.
Visible
, 0, nextVisibleRow);
2260
if (this.owner.Index != this.owner.DataGridView.Rows.GetFirstRow(DataGridViewElementStates.
Visible
))
2262
int previousVisibleRow = this.owner.DataGridView.Rows.GetPreviousRow(this.owner.Index, DataGridViewElementStates.
Visible
);
2263
int actualDisplayIndex = this.owner.DataGridView.Rows.GetRowCount(DataGridViewElementStates.
Visible
, 0, previousVisibleRow);
2335
int firstVisibleCell = dataGridView.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
).Index;
winforms\Managed\System\WinForms\DataGridViewRowCollection.cs (56)
360
dataGridViewRow.StateInternal = dataGridViewRow.State | DataGridViewElementStates.
Visible
;
1003
Debug.Assert(visibleRowIndex < GetRowCount(DataGridViewElementStates.
Visible
));
1011
if ((GetRowState(i) & DataGridViewElementStates.
Visible
) == DataGridViewElementStates.
Visible
)
1028
DataGridViewElementStates.ReadOnly | DataGridViewElementStates.Selected | DataGridViewElementStates.
Visible
)) != 0)
1037
case DataGridViewElementStates.
Visible
:
1043
case DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen:
1049
case DataGridViewElementStates.
Visible
| DataGridViewElementStates.Selected:
1074
DataGridViewElementStates.ReadOnly | DataGridViewElementStates.Selected | DataGridViewElementStates.
Visible
)) != 0)
1079
DataGridViewElementStates.ReadOnly | DataGridViewElementStates.Selected | DataGridViewElementStates.
Visible
)) != 0)
1088
case DataGridViewElementStates.
Visible
:
1094
case DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen:
1100
case DataGridViewElementStates.
Visible
| DataGridViewElementStates.Selected:
1120
DataGridViewElementStates.ReadOnly | DataGridViewElementStates.Selected | DataGridViewElementStates.
Visible
)) != 0)
1129
case DataGridViewElementStates.
Visible
:
1135
case DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen:
1141
case DataGridViewElementStates.
Visible
| DataGridViewElementStates.Selected:
1176
DataGridViewElementStates.ReadOnly | DataGridViewElementStates.Selected | DataGridViewElementStates.
Visible
)) != 0)
1203
DataGridViewElementStates.ReadOnly | DataGridViewElementStates.Selected | DataGridViewElementStates.
Visible
)) != 0)
1208
DataGridViewElementStates.ReadOnly | DataGridViewElementStates.Selected | DataGridViewElementStates.
Visible
)) != 0)
1229
DataGridViewElementStates.ReadOnly | DataGridViewElementStates.Selected | DataGridViewElementStates.
Visible
)) != 0)
1256
DataGridViewElementStates.ReadOnly | DataGridViewElementStates.Selected | DataGridViewElementStates.
Visible
)) != 0)
1261
DataGridViewElementStates.ReadOnly | DataGridViewElementStates.Selected | DataGridViewElementStates.
Visible
)) != 0)
1282
DataGridViewElementStates.ReadOnly | DataGridViewElementStates.Selected | DataGridViewElementStates.
Visible
)) != 0)
1293
case DataGridViewElementStates.
Visible
:
1299
case DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen:
1305
case DataGridViewElementStates.
Visible
| DataGridViewElementStates.Selected:
1324
case DataGridViewElementStates.
Visible
:
1327
case DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen:
1330
case DataGridViewElementStates.
Visible
| DataGridViewElementStates.Selected:
1358
DataGridViewElementStates.ReadOnly | DataGridViewElementStates.Selected | DataGridViewElementStates.
Visible
)) != 0)
1369
case DataGridViewElementStates.
Visible
:
1375
case DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen:
1394
case DataGridViewElementStates.
Visible
:
1397
case DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen:
1970
includeFilter == DataGridViewElementStates.
Visible
);
1972
if (includeFilter == DataGridViewElementStates.
Visible
)
2005
includeFilter == DataGridViewElementStates.
Visible
);
2007
if (includeFilter == DataGridViewElementStates.
Visible
)
2099
if ((GetRowState(rowIndex) & DataGridViewElementStates.
Visible
) == 0)
2122
GetRowsHeightExceedLimit(DataGridViewElementStates.
Visible
, 0, rowIndex, this.DataGridView.LayoutInfo.Data.Height);
2127
useRowShortcut = GetRowsHeightExceedLimit(DataGridViewElementStates.
Visible
, 0, rowIndex, this.DataGridView.LayoutInfo.Data.Height + this.DataGridView.VerticalScrollingOffset) &&
2137
int displayedRowsHeightBeforeAddition = GetRowsHeight(DataGridViewElementStates.
Visible
) - this.DataGridView.VerticalScrollingOffset - dataGridViewRow.GetHeight(rowIndex);
2150
bool deletedRowVisible = (rowStates & DataGridViewElementStates.
Visible
) != 0;
2166
GetRowsHeightExceedLimit(DataGridViewElementStates.
Visible
, 0, rowIndex, this.DataGridView.LayoutInfo.Data.Height + SystemInformation.HorizontalScrollBarHeight);
2177
useRowShortcut = GetRowsHeightExceedLimit(DataGridViewElementStates.
Visible
, 0, rowIndex, this.DataGridView.LayoutInfo.Data.Height + this.DataGridView.VerticalScrollingOffset + SystemInformation.HorizontalScrollBarHeight) &&
2398
Debug.Assert(state == DataGridViewElementStates.Displayed || state == DataGridViewElementStates.Selected || state == DataGridViewElementStates.ReadOnly || state == DataGridViewElementStates.Resizable || state == DataGridViewElementStates.Frozen || state == DataGridViewElementStates.
Visible
);
2407
state == DataGridViewElementStates.
Visible
||
2438
case DataGridViewElementStates.
Visible
:
2538
if ((rowStates & DataGridViewElementStates.
Visible
) != 0)
2544
((rowStates & (DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen)) == (DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen))))
2561
if ((rowStates & (DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen)) == (DataGridViewElementStates.
Visible
| DataGridViewElementStates.Frozen))
2574
if ((rowStates & (DataGridViewElementStates.
Visible
| DataGridViewElementStates.Selected)) == (DataGridViewElementStates.
Visible
| DataGridViewElementStates.Selected))
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (8)
1348
if (this.Owner.OwningRow != null && this.Owner.DataGridView.Columns.GetColumnCount(DataGridViewElementStates.
Visible
) > 0)
1364
if (this.Owner.OwningRow.Index == this.Owner.DataGridView.Rows.GetLastRow(DataGridViewElementStates.
Visible
))
1370
int nextVisibleRow = this.Owner.DataGridView.Rows.GetNextRow(this.Owner.OwningRow.Index, DataGridViewElementStates.
Visible
);
1371
int actualDisplayIndex = this.Owner.DataGridView.Rows.GetRowCount(DataGridViewElementStates.
Visible
, 0, nextVisibleRow);
1393
if (this.Owner.OwningRow.Index == this.Owner.DataGridView.Rows.GetFirstRow(DataGridViewElementStates.
Visible
))
1408
int previousVisibleRow = this.Owner.DataGridView.Rows.GetPreviousRow(this.Owner.OwningRow.Index, DataGridViewElementStates.
Visible
);
1409
int actualDisplayIndex = this.Owner.DataGridView.Rows.GetRowCount(DataGridViewElementStates.
Visible
, 0, previousVisibleRow);
1475
if (this.Owner.DataGridView.Columns.GetColumnCount(DataGridViewElementStates.
Visible
) > 0)
winforms\Managed\System\WinForms\DataGridViewTopLeftHeaderCell.cs (6)
620
if (this.Owner.DataGridView.Columns.GetColumnCount(DataGridViewElementStates.
Visible
) == 0)
643
if (this.Owner.DataGridView.Columns.GetColumnCount(DataGridViewElementStates.
Visible
) > 0 &&
644
this.Owner.DataGridView.Rows.GetRowCount(DataGridViewElementStates.
Visible
) > 0)
648
DataGridViewRow row = this.Owner.DataGridView.Rows[this.Owner.DataGridView.Rows.GetFirstRow(DataGridViewElementStates.
Visible
)];
649
DataGridViewColumn col = this.Owner.DataGridView.Columns.GetFirstColumn(DataGridViewElementStates.
Visible
);
688
if (dataGridView.Columns.GetColumnCount(DataGridViewElementStates.
Visible
) == 0)
winforms\Managed\System\WinForms\DataGridViewTopRowAccessibleObject.cs (3)
158
if (index < this.owner.Columns.GetColumnCount(DataGridViewElementStates.
Visible
))
160
int actualColumnIndex = this.owner.Columns.ActualDisplayIndexToColumnIndex(index, DataGridViewElementStates.
Visible
);
176
int result = this.owner.Columns.GetColumnCount(DataGridViewElementStates.
Visible
);