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