256 references to Frozen
System.Windows.Forms (256)
winforms\Managed\System\WinForms\DataGridView.cs (7)
2958
ptFirstDisplayedCellAddress.Y = this.Rows.GetFirstRow(DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
);
3042
if ((this.Rows.GetRowState(firstDisplayedRowIndex) & DataGridViewElementStates.
Frozen
) == 0 &&
3118
int totalVisibleFrozenWidth = this.Columns.GetColumnsWidth(DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
);
3178
if ((this.Rows.GetRowState(value) & DataGridViewElementStates.
Frozen
) != 0)
3194
int totalVisibleFrozenHeight = this.Rows.GetRowsHeight(DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
);
3407
int totalVisibleFrozenWidth = this.Columns.GetColumnsWidth(DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
);
5201
int totalVisibleFrozenHeight = this.Rows.GetRowsHeight(DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
);
winforms\Managed\System\WinForms\DataGridViewBand.cs (6)
290
return (this.State & DataGridViewElementStates.
Frozen
) != 0;
294
if (((this.State & DataGridViewElementStates.
Frozen
) != 0) != value)
296
OnStateChanging(DataGridViewElementStates.
Frozen
);
299
this.StateInternal = this.State | DataGridViewElementStates.
Frozen
;
303
this.StateInternal = this.State & ~DataGridViewElementStates.
Frozen
;
305
OnStateChanged(DataGridViewElementStates.
Frozen
);
winforms\Managed\System\WinForms\DataGridViewCell.cs (4)
397
Debug.Assert((this.State & DataGridViewElementStates.
Frozen
) == 0);
1121
DataGridViewElementStates andFlags = DataGridViewElementStates.Displayed | DataGridViewElementStates.
Frozen
| DataGridViewElementStates.Visible;
2076
state |= (this.owningRow.GetState(-1) & (DataGridViewElementStates.
Frozen
| DataGridViewElementStates.ReadOnly | DataGridViewElementStates.Selected | DataGridViewElementStates.Visible));
2119
state |= DataGridViewElementStates.
Frozen
;
winforms\Managed\System\WinForms\DataGridViewColumn.cs (2)
1286
rowIndex = dataGridView.Rows.GetFirstRow(DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
);
1304
DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
);
winforms\Managed\System\WinForms\DataGridViewColumnCollection.cs (22)
526
if ((includeFilter & ~(DataGridViewElementStates.Displayed | DataGridViewElementStates.
Frozen
| DataGridViewElementStates.Resizable |
587
Debug.Assert((includeFilter & ~(DataGridViewElementStates.Displayed | DataGridViewElementStates.
Frozen
| DataGridViewElementStates.Resizable |
640
Debug.Assert((includeFilter & ~(DataGridViewElementStates.Displayed | DataGridViewElementStates.
Frozen
| DataGridViewElementStates.Resizable |
657
if ((includeFilter & ~(DataGridViewElementStates.Displayed | DataGridViewElementStates.
Frozen
| DataGridViewElementStates.Resizable |
673
case DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
:
695
case DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
:
705
if ((includeFilter & ~(DataGridViewElementStates.Displayed | DataGridViewElementStates.
Frozen
| DataGridViewElementStates.Resizable |
740
if ((includeFilter & ~(DataGridViewElementStates.Displayed | DataGridViewElementStates.
Frozen
| DataGridViewElementStates.Resizable |
745
if ((excludeFilter & ~(DataGridViewElementStates.Displayed | DataGridViewElementStates.
Frozen
| DataGridViewElementStates.Resizable |
777
if ((includeFilter & ~(DataGridViewElementStates.Displayed | DataGridViewElementStates.
Frozen
| DataGridViewElementStates.Resizable |
782
if ((excludeFilter & ~(DataGridViewElementStates.Displayed | DataGridViewElementStates.
Frozen
| DataGridViewElementStates.Resizable |
819
if ((includeFilter & ~(DataGridViewElementStates.Displayed | DataGridViewElementStates.
Frozen
| DataGridViewElementStates.Resizable |
824
if ((excludeFilter & ~(DataGridViewElementStates.Displayed | DataGridViewElementStates.
Frozen
| DataGridViewElementStates.Resizable |
891
if ((includeFilter & ~(DataGridViewElementStates.Displayed | DataGridViewElementStates.
Frozen
| DataGridViewElementStates.Resizable |
896
if ((excludeFilter & ~(DataGridViewElementStates.Displayed | DataGridViewElementStates.
Frozen
| DataGridViewElementStates.Resizable |
1011
includeFilter == DataGridViewElementStates.
Frozen
||
1040
includeFilter == DataGridViewElementStates.
Frozen
||
1047
else if (includeFilter == DataGridViewElementStates.
Frozen
)
1211
((columnStates & (DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
)) == (DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
))))
1226
if ((columnStates & (DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
)) == (DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
))
winforms\Managed\System\WinForms\DataGridViewElement.cs (1)
38
this.state = dgveTemplate.State & (DataGridViewElementStates.
Frozen
| DataGridViewElementStates.ReadOnly | DataGridViewElementStates.Resizable | DataGridViewElementStates.ResizableSet | DataGridViewElementStates.Visible);
winforms\Managed\System\WinForms\DataGridViewHeaderCell.cs (3)
342
state |= (this.OwningRow.GetState(rowIndex) & DataGridViewElementStates.
Frozen
);
363
state |= (this.OwningColumn.State & DataGridViewElementStates.
Frozen
);
385
state |= DataGridViewElementStates.
Frozen
;
winforms\Managed\System\WinForms\DataGridViewMethods.cs (176)
511
int rowIndex = this.Rows.GetFirstRow(DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
);
516
DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
);
567
dataGridViewColumn == this.Columns.GetFirstColumn(DataGridViewElementStates.Visible, DataGridViewElementStates.
Frozen
) ||
568
dataGridViewColumn == this.Columns.GetLastColumn(DataGridViewElementStates.Visible, DataGridViewElementStates.
Frozen
))
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
) &&
1311
int rowIndex = this.Rows.GetFirstRow(DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
);
1317
DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
);
1339
int rowAboveFirstVisibleScrollingRow = this.Rows.GetPreviousRow(this.displayedBandsInfo.FirstDisplayedScrollingRow, DataGridViewElementStates.Visible, DataGridViewElementStates.
Frozen
);
2046
rowIndex = this.Rows.GetFirstRow(DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
);
2061
DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
);
2219
rowIndexTmp = this.Rows.GetFirstRow(DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
);
2234
DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
);
2485
int frozenWidth = this.Columns.GetColumnsWidth(DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
);
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;
4188
if (this.Columns.GetColumnsWidth(DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
) >= this.layout.Data.Width)
4195
DataGridViewColumn dataGridViewColumn = this.Columns.GetFirstColumn(DataGridViewElementStates.Visible, DataGridViewElementStates.
Frozen
);
4219
dataGridViewColumn = this.Columns.GetFirstColumn(DataGridViewElementStates.Visible, DataGridViewElementStates.
Frozen
);
4258
if ((rowState & DataGridViewElementStates.
Frozen
) != 0)
4266
DataGridViewElementStates.
Frozen
);
4283
DataGridViewElementStates.
Frozen
);
4299
int rowIndex = this.Rows.GetFirstRow(DataGridViewElementStates.Visible, DataGridViewElementStates.
Frozen
);
4506
int totalVisibleFrozenHeight = this.Rows.GetRowsHeight(DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
);
4599
Debug.Assert(cx <= this.Columns.GetColumnsWidth(DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
));
4607
DataGridViewElementStates.
Frozen
);
4663
DataGridViewElementStates.
Frozen
);
4673
DataGridViewElementStates.
Frozen
);
4682
DataGridViewElementStates.
Frozen
);
4775
if ((rowState & DataGridViewElementStates.
Frozen
) == 0 &&
4822
(this.Rows.GetRowState(firstDisplayedScrollingRow) & DataGridViewElementStates.
Frozen
) != 0 ||
4848
if ((this.Rows.GetRowState(i) & (DataGridViewElementStates.
Frozen
| DataGridViewElementStates.Visible)) == DataGridViewElementStates.Visible)
5080
DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
,
5095
DataGridViewElementStates.
Frozen
);
5103
DataGridViewElementStates.
Frozen
);
5127
DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
,
5232
(this.Rows.GetRowState(previousRowIndex) & DataGridViewElementStates.
Frozen
) == 0 &&
5233
(rowState & DataGridViewElementStates.
Frozen
) != 0)
5243
(this.Rows.GetRowState(nextRowIndex) & DataGridViewElementStates.
Frozen
) != 0 &&
5244
(rowState & 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))
5297
DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
);
5308
this.Rows.SetRowState(rowIndexTmp, DataGridViewElementStates.
Frozen
, true);
5311
DataGridViewElementStates.
Frozen
);
5319
DataGridViewElementStates.
Frozen
);
5340
this.Rows.SetRowState(rowIndexTmp, DataGridViewElementStates.
Frozen
, false);
5342
DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
);
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
,
6419
Debug.Assert((this.Rows.GetRowState(rowIndex) & DataGridViewElementStates.
Frozen
) == 0);
6427
int totalVisibleFrozenHeight = this.Rows.GetRowsHeight(DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
);
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
);
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
);
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
);
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
);
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);
6912
if ((includeFilter & ~(DataGridViewElementStates.Displayed | DataGridViewElementStates.
Frozen
| DataGridViewElementStates.Resizable |
6948
frozenRequired = (includeFilter & DataGridViewElementStates.
Frozen
) == DataGridViewElementStates.
Frozen
;
7011
frozenRequired = (includeFilter & DataGridViewElementStates.
Frozen
) == DataGridViewElementStates.
Frozen
;
7055
bool cellFrozen = (rowState & DataGridViewElementStates.
Frozen
) != 0 ||
7057
dataGridViewCell.StateIncludes(DataGridViewElementStates.
Frozen
);
8274
for (dataGridViewColumn = this.Columns.GetFirstColumn(DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
);
8298
DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
,
8420
DataGridViewColumn dataGridViewColumn = this.Columns.GetFirstColumn(DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
);
8443
DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
,
8538
DataGridViewColumn dataGridViewColumn = this.Columns.GetFirstColumn(DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
);
8554
DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
,
8575
dataGridViewColumn = this.Columns.GetFirstColumn(DataGridViewElementStates.Visible, DataGridViewElementStates.
Frozen
);
8603
DataGridViewElementStates.
Frozen
);
8620
DataGridViewElementStates.
Frozen
);
8629
DataGridViewColumn dataGridViewColumn = this.Columns.GetFirstColumn(DataGridViewElementStates.Visible, DataGridViewElementStates.
Frozen
);
8643
int frozenVisibleRowsHeight = this.Rows.GetRowsHeight(DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
);
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)
8681
int firstUnfrozenRowIndex = this.Rows.GetFirstRow(DataGridViewElementStates.Visible, DataGridViewElementStates.
Frozen
);
8708
((this.Rows.GetRowState(this.ptAnchorCell.Y) & DataGridViewElementStates.
Frozen
) == 0 ||
8709
(this.trackRowEdge != -1 && (this.Rows.GetRowState(this.trackRowEdge) & DataGridViewElementStates.
Frozen
) == 0)) &&
8778
int firstUnfrozenColumnIndex = this.Columns.GetFirstColumn(DataGridViewElementStates.Visible, DataGridViewElementStates.
Frozen
).Index;
8809
this.Columns.GetPreviousColumn(this.Columns[this.displayedBandsInfo.FirstDisplayedScrollingCol], DataGridViewElementStates.Visible, DataGridViewElementStates.
Frozen
) != null))
8846
DataGridViewElementStates.
Frozen
);
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)
8955
this.Columns.GetPreviousColumn(this.Columns[this.displayedBandsInfo.FirstDisplayedScrollingCol], DataGridViewElementStates.Visible, DataGridViewElementStates.
Frozen
) != null)
8998
DataGridViewElementStates.
Frozen
);
9128
for (indexTmp = this.Rows.GetFirstRow(DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
);
9143
indexTmp = this.Rows.GetNextRow(indexTmp, DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
);
9213
int indexTmp = this.Rows.GetFirstRow(DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
);
9224
DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
);
9232
(this.Rows.GetRowState(indexTmp) & DataGridViewElementStates.
Frozen
) == 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
);
9325
(this.Rows.GetRowState(indexTmp) & DataGridViewElementStates.
Frozen
) == 0);
9343
DataGridViewElementStates.
Frozen
);
9353
DataGridViewElementStates.
Frozen
);
10103
if ((this.Rows.GetRowState(lo) & DataGridViewElementStates.
Frozen
) != 0)
10139
if ((this.Rows.GetRowState(hi) & DataGridViewElementStates.
Frozen
) == DataGridViewElementStates.
Frozen
)
10151
else if (this.Rows.GetRowCount(DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
) == 0)
10339
int totalVisibleFrozenWidth = this.Columns.GetColumnsWidth(DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
);
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
) &&
14798
case DataGridViewElementStates.
Frozen
:
15190
case DataGridViewElementStates.
Frozen
:
15216
if (elementState == DataGridViewElementStates.
Frozen
&&
15224
CorrectColumnFrozenStates(dataGridViewColumn, elementState == DataGridViewElementStates.
Frozen
);
15265
case DataGridViewElementStates.
Frozen
:
15283
CorrectRowFrozenStates(dataGridViewRow, rowIndex, elementState == DataGridViewElementStates.
Frozen
);
15497
int totalVisibleFrozenHeight = this.Rows.GetRowsHeight(DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
);
17021
int totalVisibleFrozenHeight = this.Rows.GetRowsHeight(DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
);
17028
Debug.Assert(totalVisibleFrozenHeight == this.Rows.GetRowsHeight(DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
));
19125
case DataGridViewElementStates.
Frozen
:
19128
if ((newState & DataGridViewElementStates.
Frozen
) == 0)
19399
int rowIndex = this.Rows.GetFirstRow(DataGridViewElementStates.Visible, DataGridViewElementStates.
Frozen
);
19694
rowIndexTmp = this.Rows.GetFirstRow(DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
);
19715
rowIndexTmp = this.Rows.GetNextRow(rowIndexTmp, DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
);
19903
DataGridViewColumn dataGridViewColumn = this.Columns.GetFirstColumn(DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
);
19925
DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
,
20119
indexTmp = this.Rows.GetFirstRow(DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
);
20144
indexTmpNext = this.Rows.GetNextRow(indexTmp, DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
);
20170
Debug.Assert((this.Rows.GetRowState(indexTmp) & DataGridViewElementStates.
Frozen
) == 0);
20373
int totalVisibleFrozenWidth = this.Columns.GetColumnsWidth(DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
);
20380
if ((this.Rows.GetRowState(this.ptCurrentCell.Y) & DataGridViewElementStates.
Frozen
) == 0)
20382
int totalVisibleFrozenHeight = this.Rows.GetRowsHeight(DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
);
23265
if ((this.Rows.GetRowState(nextScreenVisibleRowIndex) & DataGridViewElementStates.
Frozen
) != 0)
23269
int firstDisplayedScrollingRowIndex = this.Rows.GetFirstRow(DataGridViewElementStates.Visible, DataGridViewElementStates.
Frozen
);
23506
if ((this.Rows.GetRowState(previousScreenVisibleRowIndex) & DataGridViewElementStates.
Frozen
) != 0)
23530
if ((this.Rows.GetRowState(previousScreenVisibleRowIndex) & DataGridViewElementStates.
Frozen
) != 0)
23533
int firstDisplayedScrollingRowIndex = this.Rows.GetFirstRow(DataGridViewElementStates.Visible, DataGridViewElementStates.
Frozen
);
23541
previousScreenVisibleRowIndex = this.Rows.GetFirstRow(DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
);
26090
if ((rowState & DataGridViewElementStates.
Frozen
) != 0)
26274
DataGridViewElementStates.
Frozen
);
26295
DataGridViewElementStates.
Frozen
);
26373
if ((this.Rows.GetRowState(rowIndex) & DataGridViewElementStates.
Frozen
) == 0)
26426
Debug.Assert(this.displayedBandsInfo.FirstDisplayedScrollingRow >= this.Rows.GetRowCount(DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
));
26433
int frozenRowsThickness = this.Rows.GetRowsHeight(DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
);
26456
(this.Rows.GetRowState(this.ptCurrentCell.Y) & DataGridViewElementStates.
Frozen
) == 0)
26483
int firstVisibleScrollingRow = this.Rows.GetFirstRow(DataGridViewElementStates.Visible, DataGridViewElementStates.
Frozen
);
26536
DataGridViewElementStates.
Frozen
);
26584
DataGridViewElementStates.
Frozen
);
26591
DataGridViewElementStates.
Frozen
);
28248
int visibleFrozenRows = this.Rows.GetRowCount(DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
);
28251
int rowVFIndex = this.Rows.GetFirstRow(DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
);
28253
this.Rows.SetRowState(rowVFIndex, DataGridViewElementStates.
Frozen
, false);
28254
Debug.Assert(0 == this.Rows.GetRowCount(DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
));
28317
this.Rows.SetRowState(rowVIndex, DataGridViewElementStates.
Frozen
, true);
28486
int totalVisibleFrozenHeight = this.Rows.GetRowsHeight(DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
);
28944
dataGridViewColumnTmp = this.Columns.GetFirstColumn(DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
);
28953
dataGridViewColumnTmp = this.Columns.GetNextColumn(dataGridViewColumnTmp, DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
, DataGridViewElementStates.None);
29158
rowIndexTmp = this.Rows.GetFirstRow(DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
);
29166
rowIndexTmp = this.Rows.GetNextRow(rowIndexTmp, DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
);
winforms\Managed\System\WinForms\DataGridViewRow.cs (3)
1363
return (GetState(rowIndex) & DataGridViewElementStates.
Frozen
) != 0;
1615
DataGridViewColumn dataGridViewColumn = dataGridView.Columns.GetFirstColumn(DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
);
1635
DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
,
winforms\Managed\System\WinForms\DataGridViewRowCollection.cs (32)
1027
if ((includeFilter & ~(DataGridViewElementStates.Displayed | DataGridViewElementStates.
Frozen
| DataGridViewElementStates.Resizable |
1043
case DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
:
1073
if ((includeFilter & ~(DataGridViewElementStates.Displayed | DataGridViewElementStates.
Frozen
| DataGridViewElementStates.Resizable |
1078
if ((excludeFilter & ~(DataGridViewElementStates.Displayed | DataGridViewElementStates.
Frozen
| DataGridViewElementStates.Resizable |
1094
case DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
:
1119
if ((includeFilter & ~(DataGridViewElementStates.Displayed | DataGridViewElementStates.
Frozen
| DataGridViewElementStates.Resizable |
1135
case DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
:
1175
if ((includeFilter & ~(DataGridViewElementStates.Displayed | DataGridViewElementStates.
Frozen
| DataGridViewElementStates.Resizable |
1202
if ((includeFilter & ~(DataGridViewElementStates.Displayed | DataGridViewElementStates.
Frozen
| DataGridViewElementStates.Resizable |
1207
if ((excludeFilter & ~(DataGridViewElementStates.Displayed | DataGridViewElementStates.
Frozen
| DataGridViewElementStates.Resizable |
1228
if ((includeFilter & ~(DataGridViewElementStates.Displayed | DataGridViewElementStates.
Frozen
| DataGridViewElementStates.Resizable |
1255
if ((includeFilter & ~(DataGridViewElementStates.Displayed | DataGridViewElementStates.
Frozen
| DataGridViewElementStates.Resizable |
1260
if ((excludeFilter & ~(DataGridViewElementStates.Displayed | DataGridViewElementStates.
Frozen
| DataGridViewElementStates.Resizable |
1281
if ((includeFilter & ~(DataGridViewElementStates.Displayed | DataGridViewElementStates.
Frozen
| DataGridViewElementStates.Resizable |
1299
case DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
:
1327
case DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
:
1357
if ((includeFilter & ~(DataGridViewElementStates.Displayed | DataGridViewElementStates.
Frozen
| DataGridViewElementStates.Resizable |
1375
case DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
:
1397
case DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
:
1969
includeFilter == DataGridViewElementStates.
Frozen
||
1976
else if (includeFilter == DataGridViewElementStates.
Frozen
)
2004
includeFilter == DataGridViewElementStates.
Frozen
||
2011
else if (includeFilter == DataGridViewElementStates.
Frozen
)
2118
if ((GetRowState(rowIndex) & DataGridViewElementStates.
Frozen
) != 0)
2151
bool deletedRowFrozen = (rowStates & DataGridViewElementStates.
Frozen
) != 0;
2398
Debug.Assert(state == DataGridViewElementStates.Displayed || state == DataGridViewElementStates.Selected || state == DataGridViewElementStates.ReadOnly || state == DataGridViewElementStates.Resizable || state == DataGridViewElementStates.
Frozen
|| state == DataGridViewElementStates.Visible);
2406
if (state == DataGridViewElementStates.
Frozen
||
2443
case DataGridViewElementStates.
Frozen
:
2544
((rowStates & (DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
)) == (DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
))))
2561
if ((rowStates & (DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
)) == (DataGridViewElementStates.Visible | DataGridViewElementStates.
Frozen
))