2 writes to Item
PresentationFramework (2)
System\Windows\Controls\DataGridRow.cs (2)
446Item = item; 489Item = BindingExpressionBase.DisconnectedItem;
21 references to Item
PresentationFramework (21)
System\Windows\Automation\Peers\DataGridAutomationPeer.cs (2)
360DataGridItemAutomationPeer dataGridItemAutomationPeer = FindOrCreateItemAutomationPeer(row.Item) as DataGridItemAutomationPeer; 368DataGridItemAutomationPeer dataGridItemAutomationPeer = FindOrCreateItemAutomationPeer(row.Item) as DataGridItemAutomationPeer;
System\Windows\Controls\DataGrid.cs (5)
3074(ItemsControl.EqualsEx(CurrentItem, row.Item) && // rows match (the hard way) 6229if ((row != null) && (row.Item != CurrentItem)) 6233SetCurrentItem(row.Item); 6267if ((row != null) && (row.Item != CurrentItem)) 6271SetCurrentItem(row.Item);
System\Windows\Controls\DataGridCell.cs (1)
1097return row.Item;
System\Windows\Controls\DataGridRow.cs (7)
444if (Item != item) 505_owner.ItemAttachedStorage.SetValue(Item, property, objectWithProperty.GetValue(property)); 513if (_owner.ItemAttachedStorage.TryGetValue(Item, property, out value)) 580_owner?.ItemAttachedStorage.ClearValue(Item, DataGridCellsPresenter.HeightProperty); 712var isRealItem = row.Item != CollectionView.NewItemPlaceholder; 740if (row.Item == CollectionView.NewItemPlaceholder && owningDataGrid != null) 756if (row.Item == CollectionView.NewItemPlaceholder)
System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (2)
81Item = owningRow.Item; 163cell.PrepareCell(row.Item, this, row);
System\Windows\Controls\Primitives\DataGridDetailsPresenter.cs (3)
128if (dataGridOwner.CurrentCell.Item != rowOwner.Item) 130dataGridOwner.ScrollIntoView(rowOwner.Item, dataGridOwner.ColumnFromDisplayIndex(0)); 160Content = owner?.Item;
System\Windows\Controls\Primitives\DataGridRowHeader.cs (1)
648!object.ReferenceEquals(parent.Item, dataGrid.Items[0]))