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