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