2 writes to Item
PresentationFramework (2)
System\Windows\Controls\ItemsControl.cs (2)
3850
Item
= item;
3960
Item
= item;
47 references to Item
PresentationFramework (47)
System\Windows\Automation\Peers\SelectorAutomationPeer.cs (2)
108
SelectorItemAutomationPeer peer = FindOrCreateItemAutomationPeer(owner._selectedItems[i].
Item
) as SelectorItemAutomationPeer;
161
SelectorItemAutomationPeer peer = FindOrCreateItemAutomationPeer(owner._selectedItems[0].
Item
) as SelectorItemAutomationPeer;
System\Windows\Controls\ComboBox.cs (1)
1116
index = Items.IndexOf(info.
Item
);
System\Windows\Controls\DataGrid.cs (10)
1818
SetCurrentItem(info.
Item
);
2636
if (SelectedItems.Contains(currentInfo.
Item
))
5477
object item = info.
Item
;
5622
if (currentInfo.
Item
== CollectionView.NewItemPlaceholder)
5635
if ((e.Key == Key.Up && ItemsControl.EqualsEx(cvg.Items[0], currentInfo.
Item
)) ||
5636
(e.Key == Key.Down && ItemsControl.EqualsEx(cvg.Items[cvg.Items.Count - 1], currentInfo.
Item
)))
6006
if (!ItemsControl.EqualsEx(CurrentCell.Item, rowInfo.
Item
))
6153
SetCurrentItem(targetInfo.
Item
);
6218
SetCurrentItem(targetInfo.
Item
);
6747
if (_editingRowInfo == null || !ItemsControl.EqualsEx(item, _editingRowInfo.
Item
) ||
System\Windows\Controls\DataGridCellInfo.cs (2)
139
get { return (_info != null) ? _info.
Item
: null; }
210
get { return _column != null || _info.
Item
!= DependencyProperty.UnsetValue; }
System\Windows\Controls\ItemsControl.cs (18)
1908
object startingItem = (startingInfo != null) ? startingInfo.
Item
: null;
1947
object startingItem = (startingInfo != null) ? startingInfo.
Item
: null;
2209
object startingItem = (startingInfo != null) ? startingInfo.
Item
: null;
2255
object startingItem = (startingInfo != null) ? startingInfo.
Item
: null;
2550
NavigateToItem(info.
Item
, info.Index, itemNavigateArgs, alwaysAtTopOfViewport);
3272
object item = info.
Item
;
3617
container = ItemContainerGenerator.ContainerFromItem(info.
Item
);
3648
else if (info.IsRemoved || !ItemsControl.EqualsEx(info.
Item
,
3689
object item = info.
Item
;
3807
info = NewItemInfo(info.
Item
);
3810
info.Index = Items.IndexOf(info.
Item
);
3861
return new ItemInfo(
Item
, Container, Index);
3867
? new ItemInfo(info.
Item
, KeyContainer, -1)
3873
return (
Item
!= null) ?
Item
.GetHashCode() : 314159;
3895
if (!ItemsControl.EqualsEx(this.
Item
, that.
Item
))
3936
Container = generator.ContainerFromItem(
Item
);
System\Windows\Controls\ListBox.cs (1)
780
object item = info.
Item
;
System\Windows\Controls\Primitives\Selector.cs (11)
1631
itemInfo.Reset(e.
Item
);
1697
userSelectedItems.Add(toAdd[i].
Item
);
1803
if (IsItemItsOwnContainerOverride(info.
Item
))
1805
DependencyObject element = info.
Item
as DependencyObject;
1834
object item = info.
Item
;
2136
return (_selectedItems.Count == 0) ? null : _selectedItems[0].
Item
;
2159
index = Items.IndexOf(_selectedItems[0].
Item
);
2363
if (_owner.Items.Contains(info.
Item
))
2459
ItemInfo key = new ItemInfo(info.
Item
, ItemInfo.KeyContainer, -1);
2515
if (!_owner.Items.Contains(info.
Item
))
2654
if (!isSelected && info != null && info.
Item
!= DependencyProperty.UnsetValue)
System\Windows\Controls\SelectionChangedEventArgs.cs (2)
59
_removedItems[i] = unselectedInfos[i].
Item
;
65
_addedItems[i] = selectedInfos[i].
Item
;