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)
1255
SelectionChange.SelectJustThisItem(
NewItemInfo
(item, comboBoxItem), true /* assumeInItemsCollection */);
1574
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);
2144
UnselectItem(
NewItemInfo
(CollectionView.NewItemPlaceholder));
2173
SelectItem(
NewItemInfo
(newItem));
2219
UnselectItem(
NewItemInfo
(newItem));
2242
SelectItem(
NewItemInfo
(CollectionView.NewItemPlaceholder));
3670
UnselectItem(
NewItemInfo
(currentAddItem));
3695
SelectItem(
NewItemInfo
(CollectionView.NewItemPlaceholder));
6785
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)
827
AnchorItemInternal =
NewItemInfo
(Items[0], null, 0);
882
SelectionChange.Select(
NewItemInfo
(enumerator.Current, null, index), true /* assumeInItemsCollection */);
1006
ItemInfo info =
NewItemInfo
(value);
System\Windows\Controls\Primitives\Selector.cs (9)
393
s.SelectionChange.SelectJustThisItem(s.
NewItemInfo
(e.NewValue), false /* assumeInItemsCollection */);
503
SelectionChange.SelectJustThisItem(
NewItemInfo
(item, null, index), true /* assumeInItemsCollection */);
526
ItemInfo info =
NewItemInfo
(item, null, index);
1047
ItemInfo info =
NewItemInfo
(current, null, index++);
1149
ItemInfo info =
NewItemInfo
(e.NewItems[0], null, e.NewStartingIndex);
1266
ItemInfo info =
NewItemInfo
(e.OldItems[0], ItemInfo.SentinelContainer, e.OldStartingIndex);
1440
ItemInfo info =
NewItemInfo
(item, UI);
1538
SelectionChange.SelectJustThisItem(
NewItemInfo
(item, null, Items.CurrentPosition), true /* assumeInItemsCollection */);
2449
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 */);