43 references to NewItemInfo
PresentationFramework (43)
System\Windows\Automation\Peers\SelectorItemAutomationPeer.cs (4)
57
parentSelector.SelectionChange.SelectJustThisItem(parentSelector.
NewItemInfo
(Item), true /* assumeInItemsCollection */);
78
parentSelector.SelectionChange.Select(parentSelector.
NewItemInfo
(Item), true);
94
parentSelector.SelectionChange.Unselect(parentSelector.
NewItemInfo
(Item));
108
return parentSelector._selectedItems.Contains(parentSelector.
NewItemInfo
(Item));
System\Windows\Controls\ComboBox.cs (2)
1265
SelectionChange.SelectJustThisItem(
NewItemInfo
(item, comboBoxItem), true /* assumeInItemsCollection */);
1584
SelectionChange.SelectJustThisItem(
NewItemInfo
(item, container, i), true /* assumeInItemsCollection */);
System\Windows\Controls\DataGrid.cs (9)
1545
ScrollIntoView(
NewItemInfo
(item));
1570
ItemInfo info = (item == null) ? null :
NewItemInfo
(item);
2147
UnselectItem(
NewItemInfo
(CollectionView.NewItemPlaceholder));
2176
SelectItem(
NewItemInfo
(newItem));
2222
UnselectItem(
NewItemInfo
(newItem));
2245
SelectItem(
NewItemInfo
(CollectionView.NewItemPlaceholder));
3673
UnselectItem(
NewItemInfo
(currentAddItem));
3698
SelectItem(
NewItemInfo
(CollectionView.NewItemPlaceholder));
6788
ScrollCellIntoView(
NewItemInfo
(item), column);
System\Windows\Controls\DataGridCellInfo.cs (3)
52
_info = owner.
NewItemInfo
(cell.RowDataItem, cell.RowOwner);
63
_info = owner.
NewItemInfo
(item);
112
_info = owner.
NewItemInfo
(item);
System\Windows\Controls\ItemsControl.cs (11)
1820
info =
NewItemInfo
(arg);
2173
return itemsControl.FocusItem(
NewItemInfo
(nextItem, container), itemNavigateArgs);
2357
return itemsControl.FocusItem(
NewItemInfo
(firstItem, firstElement), itemNavigateArgs);
2423
return itemsControl.FocusItem(
NewItemInfo
(firstItem, firstElement), itemNavigateArgs);
2489
return itemsControl.FocusItem(
NewItemInfo
(lastItem, lastElement), itemNavigateArgs);
2597
FocusItem(
NewItemInfo
(item, container), itemNavigateArgs);
2781
return FocusItem(
NewItemInfo
(firstItem, container), itemNavigateArgs);
3212
itemsControl._focusedInfo = itemsControl.
NewItemInfo
(item, focusedElement);
3588
return
NewItemInfo
(ItemContainerGenerator.ItemFromContainer(container), container, ItemContainerGenerator.IndexFromContainer(container));
3594
return (index >= 0) ?
NewItemInfo
(Items[index], ItemContainerGenerator.ContainerFromIndex(index), index)
3807
info =
NewItemInfo
(info.Item);
System\Windows\Controls\ListBox.cs (3)
833
AnchorItemInternal =
NewItemInfo
(Items[0], null, 0);
888
SelectionChange.Select(
NewItemInfo
(enumerator.Current, null, index), true /* assumeInItemsCollection */);
1012
ItemInfo info =
NewItemInfo
(value);
System\Windows\Controls\Primitives\Selector.cs (9)
402
s.SelectionChange.SelectJustThisItem(s.
NewItemInfo
(e.NewValue), false /* assumeInItemsCollection */);
512
SelectionChange.SelectJustThisItem(
NewItemInfo
(item, null, index), true /* assumeInItemsCollection */);
535
ItemInfo info =
NewItemInfo
(item, null, index);
1056
ItemInfo info =
NewItemInfo
(current, null, index++);
1158
ItemInfo info =
NewItemInfo
(e.NewItems[0], null, e.NewStartingIndex);
1275
ItemInfo info =
NewItemInfo
(e.OldItems[0], ItemInfo.SentinelContainer, e.OldStartingIndex);
1449
ItemInfo info =
NewItemInfo
(item, UI);
1547
SelectionChange.SelectJustThisItem(
NewItemInfo
(item, null, Items.CurrentPosition), true /* assumeInItemsCollection */);
2458
ItemInfo info = _owner.
NewItemInfo
(_owner.Items[index], null, index);
System\Windows\Controls\SelectedItemCollection.cs (2)
64
_selector.SelectionChange.Unselect(_selector.
NewItemInfo
(this[index]));
85
_selector.SelectionChange.Select(_selector.
NewItemInfo
(item), true /* assumeInItemsCollection */);