6 writes to DisplayIndex
PresentationFramework (6)
System\Windows\Controls\DataGridColumnCollection.cs (5)
287
column.
DisplayIndex
= newDisplayIndex;
377
ColumnFromDisplayIndex(i).
DisplayIndex
++;
385
ColumnFromDisplayIndex(i).
DisplayIndex
--;
442
column.
DisplayIndex
++;
581
column.
DisplayIndex
--;
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (1)
866
column.
DisplayIndex
= newDisplayIndex;
29 references to DisplayIndex
PresentationFramework (29)
System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (1)
233
name = SR.Format(SR.DataGridCellItemAutomationPeer_NameCoreFormat, Item, _column.
DisplayIndex
);
System\Windows\Controls\DataGrid.cs (6)
1777
int columnIndex = column.
DisplayIndex
;
1785
int columnIndex = column.
DisplayIndex
;
5057
int cellInfoColumnIndex = cellInfo.Column.
DisplayIndex
;
5067
int startColumnIndex = anchorColumn.
DisplayIndex
;
5090
int currentCellColumnIndex = CurrentCell.Column.
DisplayIndex
;
5608
int currentDisplayIndex = this.CurrentColumn.
DisplayIndex
;
System\Windows\Controls\DataGridCell.cs (2)
110
TabIndex = column.
DisplayIndex
;
270
TabIndex = column.
DisplayIndex
;
System\Windows\Controls\DataGridCellsPanel.cs (3)
853
column.
DisplayIndex
,
1666
int displayIndex = cell.Column.
DisplayIndex
;
2262
int displayIndex = Columns[index].
DisplayIndex
;
System\Windows\Controls\DataGridColumn.cs (1)
1287
if (column.
DisplayIndex
< dataGrid.FrozenColumnCount)
System\Windows\Controls\DataGridColumnCollection.cs (9)
55
ValidateDisplayIndex(item, item.
DisplayIndex
, true);
81
ValidateDisplayIndex(item, item.
DisplayIndex
);
297
return column.
DisplayIndex
;
489
int currentColumnDisplayIndex = currentColumn.
DisplayIndex
;
515
int currentColumnDisplayIndex = currentColumn.
DisplayIndex
;
610
if (oldColumn.
DisplayIndex
!= newDisplayIndex)
613
UpdateDisplayIndexForChangedColumn(oldColumn.
DisplayIndex
, newDisplayIndex);
734
Debug.Assert(ColumnFromDisplayIndex(i).
DisplayIndex
== i, "DisplayIndex map doesn't match column indices");
1516
int resizingColumnIndex = resizingColumn.
DisplayIndex
;
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (3)
111
TabIndex = column.
DisplayIndex
;
177
return column.
DisplayIndex
;
441
TabIndex = column.
DisplayIndex
;
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (2)
864
if (column != null && dragEndPositionValid && newDisplayIndex != column.
DisplayIndex
)
1005
if (_draggingSrcColumnHeader != null && _draggingSrcColumnHeader.Column != null && _draggingSrcColumnHeader.Column.
DisplayIndex
< displayIndex)
System\Windows\Controls\VirtualizedCellInfoCollection.cs (2)
156
int columnIndex = cell.Column.
DisplayIndex
;
1570
columnIndex = cell.Column.
DisplayIndex
;