85 references to DisplayInOrder
System.Windows.Forms (85)
winforms\Managed\System\WinForms\DataGridView.cs (3)
3147
this.Columns.
DisplayInOrder
(this.displayedBandsInfo.FirstDisplayedScrollingCol, value));
3458
else if (this.Columns.
DisplayInOrder
(oldFirstVisibleScrollingCol, this.displayedBandsInfo.FirstDisplayedScrollingCol))
3464
Debug.Assert(this.Columns.
DisplayInOrder
(this.displayedBandsInfo.FirstDisplayedScrollingCol, oldFirstVisibleScrollingCol));
winforms\Managed\System\WinForms\DataGridViewColumnCollection.cs (1)
590
Debug.Assert(
DisplayInOrder
(fromColumnIndex, toColumnIndex));
winforms\Managed\System\WinForms\DataGridViewMethods.cs (81)
727
if (this.Columns.
DisplayInOrder
(dataGridViewColumn.Index, dataGridViewColumnTmp.Index))
772
this.Columns.
DisplayInOrder
(dataGridViewColumn.Index, dataGridViewColumnTmp.Index))
811
this.Columns.
DisplayInOrder
(dataGridViewColumnTmp.Index, dataGridViewColumn.Index))
836
if (this.Columns.
DisplayInOrder
(dataGridViewColumn.Index, dataGridViewColumnTmp.Index) &&
3665
Debug.Assert(this.Columns.
DisplayInOrder
(firstVisibleFrozenColumn.Index, dataGridViewColumn.Index));
3677
if (this.Columns.
DisplayInOrder
(firstDisplayedScrollingColumnIndex, dataGridViewColumn.Index))
5090
while (dataGridViewColumnTmp != null && this.Columns.
DisplayInOrder
(dataGridViewColumnTmp.Index, dataGridViewColumn.Index))
5123
while (dataGridViewColumnTmp != null && this.Columns.
DisplayInOrder
(dataGridViewColumn.Index, dataGridViewColumnTmp.Index))
6722
this.Columns.
DisplayInOrder
(columnIndexTmp, this.displayedBandsInfo.FirstDisplayedScrollingCol) &&
6741
(this.displayedBandsInfo.FirstDisplayedScrollingCol == -1 || (this.displayedBandsInfo.FirstDisplayedScrollingCol != columnIndexTmp && this.Columns.
DisplayInOrder
(this.displayedBandsInfo.FirstDisplayedScrollingCol, columnIndexTmp))) &&
7937
if (lColumn == null || this.Columns.
DisplayInOrder
(columnIndex, lColumn.Index))
7941
if (uColumn == null || this.Columns.
DisplayInOrder
(uColumn.Index, columnIndex))
7964
if (lColumn == null || this.Columns.
DisplayInOrder
(dataGridViewCell.ColumnIndex, lColumn.Index))
7968
if (uColumn == null || this.Columns.
DisplayInOrder
(uColumn.Index, dataGridViewCell.ColumnIndex))
7979
Debug.Assert(lColumn.Index == uColumn.Index || this.Columns.
DisplayInOrder
(lColumn.Index, uColumn.Index));
12606
if (this.Columns.
DisplayInOrder
(this.ptAnchorCell.X, hti.col))
14288
if (this.Columns.
DisplayInOrder
(this.ptAnchorCell.X, hti.col))
14614
if (this.trackColumnEdge >= 0 && (this.Columns.
DisplayInOrder
(this.trackColumn, this.trackColumnEdge) || this.trackColumnEdge == this.trackColumn) && this.Columns.
DisplayInOrder
(this.trackColumnEdge, hti.col))
14621
else if (this.trackColumnEdge >= 0 && this.Columns.
DisplayInOrder
(this.trackColumn, this.trackColumnEdge) && this.Columns.
DisplayInOrder
(hti.col, this.trackColumnEdge) && (this.Columns.
DisplayInOrder
(this.trackColumn, hti.col) || hti.col == this.trackColumn))
14628
else if (this.trackColumnEdge == -1 && this.Columns.
DisplayInOrder
(this.trackColumn, hti.col))
14635
else if (this.trackColumnEdge >= 0 && (this.Columns.
DisplayInOrder
(this.trackColumnEdge, this.trackColumn) || this.trackColumnEdge == this.trackColumn) && this.Columns.
DisplayInOrder
(hti.col, this.trackColumnEdge))
14642
else if (this.trackColumnEdge >= 0 && this.Columns.
DisplayInOrder
(this.trackColumnEdge, this.trackColumn) && this.Columns.
DisplayInOrder
(this.trackColumnEdge, hti.col) && (this.Columns.
DisplayInOrder
(hti.col, this.trackColumn) || hti.col == this.trackColumn))
14649
else if (this.trackColumnEdge == -1 && this.Columns.
DisplayInOrder
(hti.col, this.trackColumn))
14656
else if (this.trackColumnEdge >= 0 && this.Columns.
DisplayInOrder
(this.trackColumn, this.trackColumnEdge) && this.Columns.
DisplayInOrder
(hti.col, this.trackColumn))
14666
else if (this.trackColumnEdge >= 0 && this.Columns.
DisplayInOrder
(this.trackColumn, hti.col) && this.Columns.
DisplayInOrder
(this.trackColumnEdge, this.trackColumn))
14806
Debug.Assert(this.Columns.
DisplayInOrder
(dataGridViewColumn.Index, this.displayedBandsInfo.FirstDisplayedScrollingCol));
17621
else if (this.Columns.
DisplayInOrder
(this.displayedBandsInfo.FirstDisplayedScrollingCol, dataGridViewColumn.Index))
22671
if (this.Columns.
DisplayInOrder
(this.ptAnchorCell.X, previousVisibleColumnIndex))
22771
if (this.Columns.
DisplayInOrder
(this.ptAnchorCell.X, previousVisibleColumnIndex))
23909
if (this.Columns.
DisplayInOrder
(this.ptAnchorCell.X, nextVisibleColumnIndex))
24009
if (this.Columns.
DisplayInOrder
(this.ptAnchorCell.X, nextVisibleColumnIndex))
26131
if (this.Columns.
DisplayInOrder
(columnIndex, this.displayedBandsInfo.FirstDisplayedScrollingCol))
26161
this.Columns.
DisplayInOrder
(this.displayedBandsInfo.LastTotallyDisplayedScrollingCol, columnIndex)))
26178
while (xColumnRightEdge < this.layout.Data.X && this.Columns.
DisplayInOrder
(firstDisplayedScrollingColumn, columnIndex))
26197
while (xColumnRightEdge > this.layout.Data.Right && this.Columns.
DisplayInOrder
(firstDisplayedScrollingColumn, columnIndex))
27280
if (this.Columns.
DisplayInOrder
(columnIndexFrom, columnIndexTo))
29257
if ((this.Columns.
DisplayInOrder
(anchorColumnIndex, oldEdgeColumnIndex) &&
29258
this.Columns.
DisplayInOrder
(newEdgeColumnIndex, anchorColumnIndex)) ||
29259
(this.Columns.
DisplayInOrder
(oldEdgeColumnIndex, anchorColumnIndex) &&
29260
this.Columns.
DisplayInOrder
(anchorColumnIndex, newEdgeColumnIndex)) ||
29273
if (this.Columns.
DisplayInOrder
(oldEdgeColumnIndex, newEdgeColumnIndex) &&
29274
(this.Columns.
DisplayInOrder
(anchorColumnIndex, oldEdgeColumnIndex) || anchorColumnIndex == oldEdgeColumnIndex) &&
29290
else if (this.Columns.
DisplayInOrder
(newEdgeColumnIndex, oldEdgeColumnIndex) &&
29291
(this.Columns.
DisplayInOrder
(oldEdgeColumnIndex, anchorColumnIndex) || oldEdgeColumnIndex == anchorColumnIndex) &&
29312
if (this.Columns.
DisplayInOrder
(anchorColumnIndex, newEdgeColumnIndex) || anchorColumnIndex == newEdgeColumnIndex)
29335
if (this.Columns.
DisplayInOrder
(anchorColumnIndex, newEdgeColumnIndex) || anchorColumnIndex == newEdgeColumnIndex)
29353
else if (this.Columns.
DisplayInOrder
(oldEdgeColumnIndex, newEdgeColumnIndex) &&
29354
!this.Columns.
DisplayInOrder
(oldEdgeColumnIndex, anchorColumnIndex) &&
29367
else if (this.Columns.
DisplayInOrder
(oldEdgeColumnIndex, newEdgeColumnIndex) &&
29370
if (!this.Columns.
DisplayInOrder
(oldEdgeColumnIndex, anchorColumnIndex))
29384
if (!this.Columns.
DisplayInOrder
(anchorColumnIndex, newEdgeColumnIndex))
29408
else if (this.Columns.
DisplayInOrder
(newEdgeColumnIndex, oldEdgeColumnIndex) &&
29411
if (!this.Columns.
DisplayInOrder
(anchorColumnIndex, oldEdgeColumnIndex))
29425
if (this.Columns.
DisplayInOrder
(anchorColumnIndex, newEdgeColumnIndex))
29446
else if (this.Columns.
DisplayInOrder
(newEdgeColumnIndex, oldEdgeColumnIndex) &&
29447
!this.Columns.
DisplayInOrder
(anchorColumnIndex, oldEdgeColumnIndex) &&
29460
else if (this.Columns.
DisplayInOrder
(newEdgeColumnIndex, oldEdgeColumnIndex))
29465
if (this.Columns.
DisplayInOrder
(anchorColumnIndex, newEdgeColumnIndex) || (anchorColumnIndex == newEdgeColumnIndex))
29483
if (this.Columns.
DisplayInOrder
(newEdgeColumnIndex, oldEdgeColumnIndex))
29487
if (this.Columns.
DisplayInOrder
(anchorColumnIndex, oldEdgeColumnIndex))
29489
if (!this.Columns.
DisplayInOrder
(newEdgeColumnIndex, anchorColumnIndex))
29525
if ((this.Columns.
DisplayInOrder
(anchorColumnIndex, newEdgeColumnIndex) || (anchorColumnIndex == newEdgeColumnIndex)) &&
29539
if (!this.Columns.
DisplayInOrder
(anchorColumnIndex, oldEdgeColumnIndex))
29562
if (this.Columns.
DisplayInOrder
(anchorColumnIndex, newEdgeColumnIndex) || (anchorColumnIndex == newEdgeColumnIndex))
29577
else if (this.Columns.
DisplayInOrder
(oldEdgeColumnIndex, newEdgeColumnIndex))
29582
if (this.Columns.
DisplayInOrder
(newEdgeColumnIndex, anchorColumnIndex) || (newEdgeColumnIndex == anchorColumnIndex))
29600
if ((this.Columns.
DisplayInOrder
(newEdgeColumnIndex, anchorColumnIndex) || (newEdgeColumnIndex == anchorColumnIndex)) &&
29613
if (!this.Columns.
DisplayInOrder
(oldEdgeColumnIndex, anchorColumnIndex))
29639
if ((this.Columns.
DisplayInOrder
(newEdgeColumnIndex, anchorColumnIndex) || (anchorColumnIndex == newEdgeColumnIndex)) &&
29652
if (!this.Columns.
DisplayInOrder
(oldEdgeColumnIndex, anchorColumnIndex))
29675
if (this.Columns.
DisplayInOrder
(newEdgeColumnIndex, anchorColumnIndex) || (anchorColumnIndex == newEdgeColumnIndex))
29696
if (this.Columns.
DisplayInOrder
(anchorColumnIndex, oldEdgeColumnIndex))
29722
if (this.Columns.
DisplayInOrder
(anchorColumnIndex, oldEdgeColumnIndex))