2 writes to Item
PresentationFramework (2)
System\Windows\Controls\DataGridRow.cs (2)
443Item = item; 486Item = 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)
3068(ItemsControl.EqualsEx(CurrentItem, row.Item) && // rows match (the hard way) 6223if ((row != null) && (row.Item != CurrentItem)) 6227SetCurrentItem(row.Item); 6261if ((row != null) && (row.Item != CurrentItem)) 6265SetCurrentItem(row.Item);
System\Windows\Controls\DataGridCell.cs (1)
1094return row.Item;
System\Windows\Controls\DataGridRow.cs (7)
441if (Item != item) 499_owner.ItemAttachedStorage.SetValue(Item, property, objectWithProperty.GetValue(property)); 507if (_owner.ItemAttachedStorage.TryGetValue(Item, property, out value)) 574_owner?.ItemAttachedStorage.ClearValue(Item, DataGridCellsPresenter.HeightProperty); 706var isRealItem = row.Item != CollectionView.NewItemPlaceholder; 734if (row.Item == CollectionView.NewItemPlaceholder && owningDataGrid != null) 750if (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]))