43 references to NewItemInfo
PresentationFramework (43)
System\Windows\Automation\Peers\SelectorItemAutomationPeer.cs (4)
44parentSelector.SelectionChange.SelectJustThisItem(parentSelector.NewItemInfo(Item), true /* assumeInItemsCollection */); 65parentSelector.SelectionChange.Select(parentSelector.NewItemInfo(Item), true); 81parentSelector.SelectionChange.Unselect(parentSelector.NewItemInfo(Item)); 95return parentSelector._selectedItems.Contains(parentSelector.NewItemInfo(Item));
System\Windows\Controls\ComboBox.cs (2)
1255SelectionChange.SelectJustThisItem(NewItemInfo(item, comboBoxItem), true /* assumeInItemsCollection */); 1574SelectionChange.SelectJustThisItem(NewItemInfo(item, container, i), true /* assumeInItemsCollection */);
System\Windows\Controls\DataGrid.cs (9)
1542ScrollIntoView(NewItemInfo(item)); 1567ItemInfo info = (item == null) ? null : NewItemInfo(item); 2144UnselectItem(NewItemInfo(CollectionView.NewItemPlaceholder)); 2173SelectItem(NewItemInfo(newItem)); 2219UnselectItem(NewItemInfo(newItem)); 2242SelectItem(NewItemInfo(CollectionView.NewItemPlaceholder)); 3670UnselectItem(NewItemInfo(currentAddItem)); 3695SelectItem(NewItemInfo(CollectionView.NewItemPlaceholder)); 6785ScrollCellIntoView(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)
1811info = NewItemInfo(arg); 2164return itemsControl.FocusItem(NewItemInfo(nextItem, container), itemNavigateArgs); 2348return itemsControl.FocusItem(NewItemInfo(firstItem, firstElement), itemNavigateArgs); 2414return itemsControl.FocusItem(NewItemInfo(firstItem, firstElement), itemNavigateArgs); 2480return itemsControl.FocusItem(NewItemInfo(lastItem, lastElement), itemNavigateArgs); 2588FocusItem(NewItemInfo(item, container), itemNavigateArgs); 2772return FocusItem(NewItemInfo(firstItem, container), itemNavigateArgs); 3203itemsControl._focusedInfo = itemsControl.NewItemInfo(item, focusedElement); 3579return NewItemInfo(ItemContainerGenerator.ItemFromContainer(container), container, ItemContainerGenerator.IndexFromContainer(container)); 3585return (index >= 0) ? NewItemInfo(Items[index], ItemContainerGenerator.ContainerFromIndex(index), index) 3798info = NewItemInfo(info.Item);
System\Windows\Controls\ListBox.cs (3)
827AnchorItemInternal = NewItemInfo(Items[0], null, 0); 882SelectionChange.Select(NewItemInfo(enumerator.Current, null, index), true /* assumeInItemsCollection */); 1006ItemInfo info = NewItemInfo(value);
System\Windows\Controls\Primitives\Selector.cs (9)
393s.SelectionChange.SelectJustThisItem(s.NewItemInfo(e.NewValue), false /* assumeInItemsCollection */); 503SelectionChange.SelectJustThisItem(NewItemInfo(item, null, index), true /* assumeInItemsCollection */); 526ItemInfo info = NewItemInfo(item, null, index); 1047ItemInfo info = NewItemInfo(current, null, index++); 1149ItemInfo info = NewItemInfo(e.NewItems[0], null, e.NewStartingIndex); 1266ItemInfo info = NewItemInfo(e.OldItems[0], ItemInfo.SentinelContainer, e.OldStartingIndex); 1440ItemInfo info = NewItemInfo(item, UI); 1538SelectionChange.SelectJustThisItem(NewItemInfo(item, null, Items.CurrentPosition), true /* assumeInItemsCollection */); 2449ItemInfo 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 */);