2 writes to Item
PresentationFramework (2)
System\Windows\Controls\DataGridRow.cs (2)
447Item = item; 490Item = BindingExpressionBase.DisconnectedItem;
21 references to Item
PresentationFramework (21)
System\Windows\Automation\Peers\DataGridAutomationPeer.cs (2)
370DataGridItemAutomationPeer dataGridItemAutomationPeer = FindOrCreateItemAutomationPeer(row.Item) as DataGridItemAutomationPeer; 381DataGridItemAutomationPeer dataGridItemAutomationPeer = FindOrCreateItemAutomationPeer(row.Item) as DataGridItemAutomationPeer;
System\Windows\Controls\DataGrid.cs (5)
3095(ItemsControl.EqualsEx(CurrentItem, row.Item) && // rows match (the hard way) 6271if ((row != null) && (row.Item != CurrentItem)) 6275SetCurrentItem(row.Item); 6309if ((row != null) && (row.Item != CurrentItem)) 6313SetCurrentItem(row.Item);
System\Windows\Controls\DataGridCell.cs (1)
1112return row.Item;
System\Windows\Controls\DataGridRow.cs (7)
445if (Item != item) 506_owner.ItemAttachedStorage.SetValue(Item, property, objectWithProperty.GetValue(property)); 514if (_owner.ItemAttachedStorage.TryGetValue(Item, property, out value)) 583_owner.ItemAttachedStorage.ClearValue(Item, DataGridCellsPresenter.HeightProperty); 720var isRealItem = row.Item != CollectionView.NewItemPlaceholder; 748if (row.Item == CollectionView.NewItemPlaceholder && owningDataGrid != null) 764if (row.Item == CollectionView.NewItemPlaceholder)
System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (2)
82Item = owningRow.Item; 164cell.PrepareCell(row.Item, this, row);
System\Windows\Controls\Primitives\DataGridDetailsPresenter.cs (3)
129if (dataGridOwner.CurrentCell.Item != rowOwner.Item) 131dataGridOwner.ScrollIntoView(rowOwner.Item, dataGridOwner.ColumnFromDisplayIndex(0)); 161Content = owner != null ? owner.Item : null;
System\Windows\Controls\Primitives\DataGridRowHeader.cs (1)
649!object.ReferenceEquals(parent.Item, dataGrid.Items[0]))