18 references to Item
PresentationFramework (16)
src\Framework\System\Windows\Automation\Peers\DataGridAutomationPeer.cs (2)
316DataGridItemAutomationPeer dataGridItemAutomationPeer = FindOrCreateItemAutomationPeer(cellInfo.Item) as DataGridItemAutomationPeer; 455DataGridItemAutomationPeer itemPeer = this.FindOrCreateItemAutomationPeer(cellInfo.Item) as DataGridItemAutomationPeer;
src\Framework\System\Windows\Controls\DataGrid.cs (11)
1372return _selectionAnchor != null && SelectedItems.Contains(_selectionAnchor.Value.Item) && 2826if (currentCell.Item != newItem) 2872dataGrid.SetCurrentValueInternal(CurrentCellProperty, DataGridCellInfo.CreatePossiblyPartialCellInfo(currentCell.Item, newColumn, dataGrid)); 2902if (dataGrid.CurrentItem != currentCell.Item) 2904dataGrid.SetCurrentItem(currentCell.Item); 2917if ((dataGrid.IsAddingNewItem || dataGrid.IsEditingRowItem) && (oldCell.Item != currentCell.Item)) 4241object rowItem = cellInfo.Item; 5168SelectedItems.Contains(cellInfo.Item)) 5171SelectedItems.Remove(cellInfo.Item); 6011if (!ItemsControl.EqualsEx(CurrentCell.Item, rowInfo.Item))
src\Framework\System\Windows\Controls\DataGridCellInfo.cs (1)
236get { return (Item != DependencyProperty.UnsetValue) && (_column != null); }
src\Framework\System\Windows\Controls\Primitives\DataGridDetailsPresenter.cs (1)
133if (dataGridOwner.CurrentCell.Item != rowOwner.Item)
src\Framework\System\Windows\Controls\VirtualizedCellInfoCollection.cs (1)
1578rowIndex = _owner.Items.IndexOf(cell.Item);
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (2)
205DataGridCell currentCellContainer = GetCell(dataGrid, items.IndexOf(currentCell.Item), currentColumnIndex); 210int index = Math.Max(0, Math.Min(numItems - 1, items.IndexOf(currentCell.Item) + (shiftModifier ? -1 : 1)));