6 writes to DisplayIndex
PresentationFramework (6)
System\Windows\Controls\DataGridColumnCollection.cs (5)
283
column.
DisplayIndex
= newDisplayIndex;
373
ColumnFromDisplayIndex(i).
DisplayIndex
++;
381
ColumnFromDisplayIndex(i).
DisplayIndex
--;
438
column.
DisplayIndex
++;
577
column.
DisplayIndex
--;
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (1)
856
column.
DisplayIndex
= newDisplayIndex;
29 references to DisplayIndex
PresentationFramework (29)
System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (1)
227
name = SR.Format(SR.DataGridCellItemAutomationPeer_NameCoreFormat, Item, _column.
DisplayIndex
);
System\Windows\Controls\DataGrid.cs (6)
1767
int columnIndex = column.
DisplayIndex
;
1775
int columnIndex = column.
DisplayIndex
;
5016
int cellInfoColumnIndex = cellInfo.Column.
DisplayIndex
;
5026
int startColumnIndex = anchorColumn.
DisplayIndex
;
5049
int currentCellColumnIndex = CurrentCell.Column.
DisplayIndex
;
5567
int currentDisplayIndex = this.CurrentColumn.
DisplayIndex
;
System\Windows\Controls\DataGridCell.cs (2)
103
TabIndex = column.
DisplayIndex
;
260
TabIndex = column.
DisplayIndex
;
System\Windows\Controls\DataGridCellsPanel.cs (3)
848
column.
DisplayIndex
,
1657
int displayIndex = cell.Column.
DisplayIndex
;
2253
int displayIndex = Columns[index].
DisplayIndex
;
System\Windows\Controls\DataGridColumn.cs (1)
1277
if (column.
DisplayIndex
< dataGrid.FrozenColumnCount)
System\Windows\Controls\DataGridColumnCollection.cs (9)
51
ValidateDisplayIndex(item, item.
DisplayIndex
, true);
77
ValidateDisplayIndex(item, item.
DisplayIndex
);
293
return column.
DisplayIndex
;
485
int currentColumnDisplayIndex = currentColumn.
DisplayIndex
;
511
int currentColumnDisplayIndex = currentColumn.
DisplayIndex
;
606
if (oldColumn.
DisplayIndex
!= newDisplayIndex)
609
UpdateDisplayIndexForChangedColumn(oldColumn.
DisplayIndex
, newDisplayIndex);
730
Debug.Assert(ColumnFromDisplayIndex(i).
DisplayIndex
== i, "DisplayIndex map doesn't match column indices");
1509
int resizingColumnIndex = resizingColumn.
DisplayIndex
;
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (3)
106
TabIndex = column.
DisplayIndex
;
172
return column.
DisplayIndex
;
427
TabIndex = column.
DisplayIndex
;
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (2)
854
if (column != null && dragEndPositionValid && newDisplayIndex != column.
DisplayIndex
)
995
if (_draggingSrcColumnHeader != null && _draggingSrcColumnHeader.Column != null && _draggingSrcColumnHeader.Column.
DisplayIndex
< displayIndex)
System\Windows\Controls\VirtualizedCellInfoCollection.cs (2)
152
int columnIndex = cell.Column.
DisplayIndex
;
1566
columnIndex = cell.Column.
DisplayIndex
;