1 write to Item
PresentationFramework (1)
System\Windows\Automation\Peers\ItemAutomationPeer.cs (1)
24Item = item;
34 references to Item
PresentationFramework (33)
System\Windows\Automation\Peers\DataGridColumnHeadersPresenterAutomationPeer.cs (2)
114!ItemsControl.EqualsEx(peer.Item, dataItemHeader)) 186if (startAfterItem.Item == null)
System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (9)
215object item = Item; 261this.OwningDataGrid.ScrollIntoView(Item); 272return this.OwningDataGrid.SelectedItems.Contains(Item); 292object item = Item; 321object item = Item; 337this.OwningDataGrid.SelectedItem = Item; 368int rowIndex = dataGrid.Items.IndexOf(Item); 490peer = new DataGridCellItemAutomationPeer(Item, column); 565object item = Item;
System\Windows\Automation\Peers\GridViewItemAutomationPeer.cs (1)
40object item = Item;
System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (1)
294object item = peer.Item;
System\Windows\Automation\Peers\ItemAutomationPeer.cs (7)
276position = GetPositionInSetFromItemsControl(parentItemsControl, Item); 310size = GetSizeOfSetFromItemsControl(parentItemsControl, Item); 494else if ((item = Item) != null) 510object item = Item; 693System.Diagnostics.Debug.Assert(Object.Equals(item, Item), "ItemPeer reuse for an unequal item is not supported"); 748parent.OnBringItemIntoView(Item); 770}, Item);
System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (4)
224if(GetPeerFromWeakRefStorage(itemPeer.Item) == null) 225WeakRefElementProxyStorage[itemPeer.Item] = wr; 263if (startAfterItem.Item == null) 270startIndex = items.IndexOf(startAfterItem.Item)+ 1;
System\Windows\Automation\Peers\ListBoxItemAutomationPeer.cs (2)
57parent.ScrollIntoView(Item); 61parentPeer?.ScrollItemIntoView(Item);
System\Windows\Automation\Peers\SelectorItemAutomationPeer.cs (5)
43parentSelector.SelectionChange.SelectJustThisItem(parentSelector.NewItemInfo(Item), true /* assumeInItemsCollection */); 56if ((parentSelector == null) || (!parentSelector.CanSelectMultiple && parentSelector.SelectedItem != null && parentSelector.SelectedItem != Item)) 64parentSelector.SelectionChange.Select(parentSelector.NewItemInfo(Item), true); 80parentSelector.SelectionChange.Unselect(parentSelector.NewItemInfo(Item)); 94return parentSelector._selectedItems.Contains(parentSelector.NewItemInfo(Item));
System\Windows\Automation\Peers\TreeViewDataItemAutomationPeer.cs (2)
303parent.OnBringItemIntoView(Item); 308Dispatcher.BeginInvoke(DispatcherPriority.Loaded, new DispatcherOperationCallback(parent.OnBringItemIntoView), Item);
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Automation\Peers\RibbonTabDataAutomationPeer.cs (1)
159if ((parentSelector == null) || (parentSelector.SelectedItem != null && parentSelector.SelectedItem != Item))