43 references to NewItemInfo
PresentationFramework (43)
src\Framework\System\Windows\Automation\Peers\SelectorItemAutomationPeer.cs (4)
54
parentSelector.SelectionChange.SelectJustThisItem(parentSelector.
NewItemInfo
(Item), true /* assumeInItemsCollection */);
75
parentSelector.SelectionChange.Select(parentSelector.
NewItemInfo
(Item), true);
91
parentSelector.SelectionChange.Unselect(parentSelector.
NewItemInfo
(Item));
105
return parentSelector._selectedItems.Contains(parentSelector.
NewItemInfo
(Item));
src\Framework\System\Windows\Controls\ComboBox.cs (2)
1267
SelectionChange.SelectJustThisItem(
NewItemInfo
(item, comboBoxItem), true /* assumeInItemsCollection */);
1587
SelectionChange.SelectJustThisItem(
NewItemInfo
(item, container, i), true /* assumeInItemsCollection */);
src\Framework\System\Windows\Controls\DataGrid.cs (9)
1549
ScrollIntoView(
NewItemInfo
(item));
1574
ItemInfo info = (item == null) ? null :
NewItemInfo
(item);
2151
UnselectItem(
NewItemInfo
(CollectionView.NewItemPlaceholder));
2180
SelectItem(
NewItemInfo
(newItem));
2226
UnselectItem(
NewItemInfo
(newItem));
2249
SelectItem(
NewItemInfo
(CollectionView.NewItemPlaceholder));
3678
UnselectItem(
NewItemInfo
(currentAddItem));
3703
SelectItem(
NewItemInfo
(CollectionView.NewItemPlaceholder));
6793
ScrollCellIntoView(
NewItemInfo
(item), column);
src\Framework\System\Windows\Controls\DataGridCellInfo.cs (3)
59
_info = owner.
NewItemInfo
(cell.RowDataItem, cell.RowOwner);
70
_info = owner.
NewItemInfo
(item);
119
_info = owner.
NewItemInfo
(item);
src\Framework\System\Windows\Controls\ItemsControl.cs (11)
1823
info =
NewItemInfo
(arg);
2176
return itemsControl.FocusItem(
NewItemInfo
(nextItem, container), itemNavigateArgs);
2360
return itemsControl.FocusItem(
NewItemInfo
(firstItem, firstElement), itemNavigateArgs);
2426
return itemsControl.FocusItem(
NewItemInfo
(firstItem, firstElement), itemNavigateArgs);
2492
return itemsControl.FocusItem(
NewItemInfo
(lastItem, lastElement), itemNavigateArgs);
2600
FocusItem(
NewItemInfo
(item, container), itemNavigateArgs);
2784
return FocusItem(
NewItemInfo
(firstItem, container), itemNavigateArgs);
3143
itemsControl._focusedInfo = itemsControl.
NewItemInfo
(item, focusedElement);
3519
return
NewItemInfo
(ItemContainerGenerator.ItemFromContainer(container), container, ItemContainerGenerator.IndexFromContainer(container));
3525
return (index >= 0) ?
NewItemInfo
(Items[index], ItemContainerGenerator.ContainerFromIndex(index), index)
3739
info =
NewItemInfo
(info.Item);
src\Framework\System\Windows\Controls\ListBox.cs (3)
788
AnchorItemInternal =
NewItemInfo
(Items[0], null, 0);
844
SelectionChange.Select(
NewItemInfo
(enumerator.Current, null, index), true /* assumeInItemsCollection */);
969
ItemInfo info =
NewItemInfo
(value);
src\Framework\System\Windows\Controls\Primitives\Selector.cs (9)
412
s.SelectionChange.SelectJustThisItem(s.
NewItemInfo
(e.NewValue), false /* assumeInItemsCollection */);
522
SelectionChange.SelectJustThisItem(
NewItemInfo
(item, null, index), true /* assumeInItemsCollection */);
545
ItemInfo info =
NewItemInfo
(item, null, index);
1066
ItemInfo info =
NewItemInfo
(current, null, index++);
1176
ItemInfo info =
NewItemInfo
(e.NewItems[0], null, e.NewStartingIndex);
1293
ItemInfo info =
NewItemInfo
(e.OldItems[0], ItemInfo.SentinelContainer, e.OldStartingIndex);
1467
ItemInfo info =
NewItemInfo
(item, UI);
1567
SelectionChange.SelectJustThisItem(
NewItemInfo
(item, null, Items.CurrentPosition), true /* assumeInItemsCollection */);
2503
ItemInfo info = _owner.
NewItemInfo
(_owner.Items[index], null, index);
src\Framework\System\Windows\Controls\SelectedItemCollection.cs (2)
71
_selector.SelectionChange.Unselect(_selector.
NewItemInfo
(this[index]));
92
_selector.SelectionChange.Select(_selector.
NewItemInfo
(item), true /* assumeInItemsCollection */);