2 writes to Item
PresentationFramework (2)
System\Windows\Controls\DataGridRow.cs (2)
451Item = item; 494Item = BindingExpressionBase.DisconnectedItem;
21 references to Item
PresentationFramework (21)
System\Windows\Automation\Peers\DataGridAutomationPeer.cs (2)
375DataGridItemAutomationPeer dataGridItemAutomationPeer = FindOrCreateItemAutomationPeer(row.Item) as DataGridItemAutomationPeer; 386DataGridItemAutomationPeer dataGridItemAutomationPeer = FindOrCreateItemAutomationPeer(row.Item) as DataGridItemAutomationPeer;
System\Windows\Controls\DataGrid.cs (5)
3098(ItemsControl.EqualsEx(CurrentItem, row.Item) && // rows match (the hard way) 6274if ((row != null) && (row.Item != CurrentItem)) 6278SetCurrentItem(row.Item); 6312if ((row != null) && (row.Item != CurrentItem)) 6316SetCurrentItem(row.Item);
System\Windows\Controls\DataGridCell.cs (1)
1119return row.Item;
System\Windows\Controls\DataGridRow.cs (7)
449if (Item != item) 510_owner.ItemAttachedStorage.SetValue(Item, property, objectWithProperty.GetValue(property)); 518if (_owner.ItemAttachedStorage.TryGetValue(Item, property, out value)) 587_owner.ItemAttachedStorage.ClearValue(Item, DataGridCellsPresenter.HeightProperty); 724var isRealItem = row.Item != CollectionView.NewItemPlaceholder; 752if (row.Item == CollectionView.NewItemPlaceholder && owningDataGrid != null) 768if (row.Item == CollectionView.NewItemPlaceholder)
System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (2)
87Item = owningRow.Item; 169cell.PrepareCell(row.Item, this, row);
System\Windows\Controls\Primitives\DataGridDetailsPresenter.cs (3)
133if (dataGridOwner.CurrentCell.Item != rowOwner.Item) 135dataGridOwner.ScrollIntoView(rowOwner.Item, dataGridOwner.ColumnFromDisplayIndex(0)); 165Content = owner != null ? owner.Item : null;
System\Windows\Controls\Primitives\DataGridRowHeader.cs (1)
654!object.ReferenceEquals(parent.Item, dataGrid.Items[0]))