43 references to NewItemInfo
PresentationFramework (43)
System\Windows\Automation\Peers\SelectorItemAutomationPeer.cs (4)
44
parentSelector.SelectionChange.SelectJustThisItem(parentSelector.
NewItemInfo
(Item), true /* assumeInItemsCollection */);
65
parentSelector.SelectionChange.Select(parentSelector.
NewItemInfo
(Item), true);
81
parentSelector.SelectionChange.Unselect(parentSelector.
NewItemInfo
(Item));
95
return parentSelector._selectedItems.Contains(parentSelector.
NewItemInfo
(Item));
System\Windows\Controls\ComboBox.cs (2)
1261
SelectionChange.SelectJustThisItem(
NewItemInfo
(item, comboBoxItem), true /* assumeInItemsCollection */);
1580
SelectionChange.SelectJustThisItem(
NewItemInfo
(item, container, i), true /* assumeInItemsCollection */);
System\Windows\Controls\DataGrid.cs (9)
1542
ScrollIntoView(
NewItemInfo
(item));
1567
ItemInfo info = (item == null) ? null :
NewItemInfo
(item);
2148
UnselectItem(
NewItemInfo
(CollectionView.NewItemPlaceholder));
2177
SelectItem(
NewItemInfo
(newItem));
2223
UnselectItem(
NewItemInfo
(newItem));
2246
SelectItem(
NewItemInfo
(CollectionView.NewItemPlaceholder));
3674
UnselectItem(
NewItemInfo
(currentAddItem));
3699
SelectItem(
NewItemInfo
(CollectionView.NewItemPlaceholder));
6789
ScrollCellIntoView(
NewItemInfo
(item), column);
System\Windows\Controls\DataGridCellInfo.cs (3)
47
_info = owner.
NewItemInfo
(cell.RowDataItem, cell.RowOwner);
58
_info = owner.
NewItemInfo
(item);
107
_info = owner.
NewItemInfo
(item);
System\Windows\Controls\ItemsControl.cs (11)
1811
info =
NewItemInfo
(arg);
2164
return itemsControl.FocusItem(
NewItemInfo
(nextItem, container), itemNavigateArgs);
2348
return itemsControl.FocusItem(
NewItemInfo
(firstItem, firstElement), itemNavigateArgs);
2414
return itemsControl.FocusItem(
NewItemInfo
(firstItem, firstElement), itemNavigateArgs);
2480
return itemsControl.FocusItem(
NewItemInfo
(lastItem, lastElement), itemNavigateArgs);
2588
FocusItem(
NewItemInfo
(item, container), itemNavigateArgs);
2772
return FocusItem(
NewItemInfo
(firstItem, container), itemNavigateArgs);
3203
itemsControl._focusedInfo = itemsControl.
NewItemInfo
(item, focusedElement);
3579
return
NewItemInfo
(ItemContainerGenerator.ItemFromContainer(container), container, ItemContainerGenerator.IndexFromContainer(container));
3585
return (index >= 0) ?
NewItemInfo
(Items[index], ItemContainerGenerator.ContainerFromIndex(index), index)
3798
info =
NewItemInfo
(info.Item);
System\Windows\Controls\ListBox.cs (3)
829
AnchorItemInternal =
NewItemInfo
(Items[0], null, 0);
884
SelectionChange.Select(
NewItemInfo
(enumerator.Current, null, index), true /* assumeInItemsCollection */);
1008
ItemInfo info =
NewItemInfo
(value);
System\Windows\Controls\Primitives\Selector.cs (9)
390
s.SelectionChange.SelectJustThisItem(s.
NewItemInfo
(e.NewValue), false /* assumeInItemsCollection */);
500
SelectionChange.SelectJustThisItem(
NewItemInfo
(item, null, index), true /* assumeInItemsCollection */);
523
ItemInfo info =
NewItemInfo
(item, null, index);
1045
ItemInfo info =
NewItemInfo
(current, null, index++);
1147
ItemInfo info =
NewItemInfo
(e.NewItems[0], null, e.NewStartingIndex);
1264
ItemInfo info =
NewItemInfo
(e.OldItems[0], ItemInfo.SentinelContainer, e.OldStartingIndex);
1438
ItemInfo info =
NewItemInfo
(item, UI);
1536
SelectionChange.SelectJustThisItem(
NewItemInfo
(item, null, Items.CurrentPosition), true /* assumeInItemsCollection */);
2448
ItemInfo info = _owner.
NewItemInfo
(_owner.Items[index], null, index);
System\Windows\Controls\SelectedItemCollection.cs (2)
62
_selector.SelectionChange.Unselect(_selector.
NewItemInfo
(this[index]));
83
_selector.SelectionChange.Select(_selector.
NewItemInfo
(item), true /* assumeInItemsCollection */);