1 write to Item
PresentationFramework (1)
System\Windows\Automation\Peers\ItemAutomationPeer.cs (1)
25Item = item;
34 references to Item
PresentationFramework (33)
System\Windows\Automation\Peers\DataGridColumnHeadersPresenterAutomationPeer.cs (2)
115!ItemsControl.EqualsEx(peer.Item, dataItemHeader)) 187if (startAfterItem.Item == null)
System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (9)
216object item = Item; 262this.OwningDataGrid.ScrollIntoView(Item); 273return this.OwningDataGrid.SelectedItems.Contains(Item); 293object item = Item; 322object item = Item; 338this.OwningDataGrid.SelectedItem = Item; 369int rowIndex = dataGrid.Items.IndexOf(Item); 491peer = new DataGridCellItemAutomationPeer(Item, column); 566object item = Item;
System\Windows\Automation\Peers\GridViewItemAutomationPeer.cs (1)
41object item = Item;
System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (1)
298object item = peer.Item;
System\Windows\Automation\Peers\ItemAutomationPeer.cs (7)
280position = GetPositionInSetFromItemsControl(parentItemsControl, Item); 314size = GetSizeOfSetFromItemsControl(parentItemsControl, Item); 498else if ((item = Item) != null) 514object item = Item; 697System.Diagnostics.Debug.Assert(Object.Equals(item, Item), "ItemPeer reuse for an unequal item is not supported"); 752parent.OnBringItemIntoView(Item); 774}, Item);
System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (4)
231if(GetPeerFromWeakRefStorage(itemPeer.Item) == null) 232WeakRefElementProxyStorage[itemPeer.Item] = wr; 270if (startAfterItem.Item == null) 277startIndex = items.IndexOf(startAfterItem.Item)+ 1;
System\Windows\Automation\Peers\ListBoxItemAutomationPeer.cs (2)
58parent.ScrollIntoView(Item); 63parentPeer.ScrollItemIntoView(Item);
System\Windows\Automation\Peers\SelectorItemAutomationPeer.cs (5)
44parentSelector.SelectionChange.SelectJustThisItem(parentSelector.NewItemInfo(Item), true /* assumeInItemsCollection */); 57if ((parentSelector == null) || (!parentSelector.CanSelectMultiple && parentSelector.SelectedItem != null && parentSelector.SelectedItem != Item)) 65parentSelector.SelectionChange.Select(parentSelector.NewItemInfo(Item), true); 81parentSelector.SelectionChange.Unselect(parentSelector.NewItemInfo(Item)); 95return parentSelector._selectedItems.Contains(parentSelector.NewItemInfo(Item));
System\Windows\Automation\Peers\TreeViewDataItemAutomationPeer.cs (2)
307parent.OnBringItemIntoView(Item); 312Dispatcher.BeginInvoke(DispatcherPriority.Loaded, new DispatcherOperationCallback(parent.OnBringItemIntoView), Item);
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Automation\Peers\RibbonTabDataAutomationPeer.cs (1)
160if ((parentSelector == null) || (parentSelector.SelectedItem != null && parentSelector.SelectedItem != Item))