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