2 writes to Item
PresentationFramework (2)
System\Windows\Controls\ItemsControl.cs (2)
3841
Item
= item;
3951
Item
= item;
47 references to Item
PresentationFramework (47)
System\Windows\Automation\Peers\SelectorAutomationPeer.cs (2)
96
SelectorItemAutomationPeer peer = FindOrCreateItemAutomationPeer(owner._selectedItems[i].
Item
) as SelectorItemAutomationPeer;
149
SelectorItemAutomationPeer peer = FindOrCreateItemAutomationPeer(owner._selectedItems[0].
Item
) as SelectorItemAutomationPeer;
System\Windows\Controls\ComboBox.cs (1)
1106
index = Items.IndexOf(info.
Item
);
System\Windows\Controls\DataGrid.cs (10)
1815
SetCurrentItem(info.
Item
);
2633
if (SelectedItems.Contains(currentInfo.
Item
))
5474
object item = info.
Item
;
5619
if (currentInfo.
Item
== CollectionView.NewItemPlaceholder)
5632
if ((e.Key == Key.Up && ItemsControl.EqualsEx(cvg.Items[0], currentInfo.
Item
)) ||
5633
(e.Key == Key.Down && ItemsControl.EqualsEx(cvg.Items[cvg.Items.Count - 1], currentInfo.
Item
)))
6003
if (!ItemsControl.EqualsEx(CurrentCell.Item, rowInfo.
Item
))
6150
SetCurrentItem(targetInfo.
Item
);
6215
SetCurrentItem(targetInfo.
Item
);
6744
if (_editingRowInfo == null || !ItemsControl.EqualsEx(item, _editingRowInfo.
Item
) ||
System\Windows\Controls\DataGridCellInfo.cs (2)
134
get { return (_info != null) ? _info.
Item
: null; }
205
get { return _column != null || _info.
Item
!= DependencyProperty.UnsetValue; }
System\Windows\Controls\ItemsControl.cs (18)
1899
object startingItem = (startingInfo != null) ? startingInfo.
Item
: null;
1938
object startingItem = (startingInfo != null) ? startingInfo.
Item
: null;
2200
object startingItem = (startingInfo != null) ? startingInfo.
Item
: null;
2246
object startingItem = (startingInfo != null) ? startingInfo.
Item
: null;
2541
NavigateToItem(info.
Item
, info.Index, itemNavigateArgs, alwaysAtTopOfViewport);
3263
object item = info.
Item
;
3608
container = ItemContainerGenerator.ContainerFromItem(info.
Item
);
3639
else if (info.IsRemoved || !ItemsControl.EqualsEx(info.
Item
,
3680
object item = info.
Item
;
3798
info = NewItemInfo(info.
Item
);
3801
info.Index = Items.IndexOf(info.
Item
);
3852
return new ItemInfo(
Item
, Container, Index);
3858
? new ItemInfo(info.
Item
, KeyContainer, -1)
3864
return (
Item
!= null) ?
Item
.GetHashCode() : 314159;
3886
if (!ItemsControl.EqualsEx(this.
Item
, that.
Item
))
3927
Container = generator.ContainerFromItem(
Item
);
System\Windows\Controls\ListBox.cs (1)
774
object item = info.
Item
;
System\Windows\Controls\Primitives\Selector.cs (11)
1622
itemInfo.Reset(e.
Item
);
1688
userSelectedItems.Add(toAdd[i].
Item
);
1794
if (IsItemItsOwnContainerOverride(info.
Item
))
1796
DependencyObject element = info.
Item
as DependencyObject;
1825
object item = info.
Item
;
2127
return (_selectedItems.Count == 0) ? null : _selectedItems[0].
Item
;
2150
index = Items.IndexOf(_selectedItems[0].
Item
);
2354
if (_owner.Items.Contains(info.
Item
))
2450
ItemInfo key = new ItemInfo(info.
Item
, ItemInfo.KeyContainer, -1);
2506
if (!_owner.Items.Contains(info.
Item
))
2645
if (!isSelected && info != null && info.
Item
!= DependencyProperty.UnsetValue)
System\Windows\Controls\SelectionChangedEventArgs.cs (2)
55
_removedItems[i] = unselectedInfos[i].
Item
;
61
_addedItems[i] = selectedInfos[i].
Item
;