1 override of FindOrCreateItemAutomationPeer
PresentationFramework (1)
System\Windows\Automation\Peers\TreeViewItemAutomationPeer.cs (1)
168protected override internal ItemAutomationPeer FindOrCreateItemAutomationPeer(object item)
23 references to FindOrCreateItemAutomationPeer
PresentationFramework (23)
System\Windows\Automation\Peers\DataGridAutomationPeer.cs (11)
159DataGridItemAutomationPeer itemPeer = this.FindOrCreateItemAutomationPeer(item) as DataGridItemAutomationPeer; 253AutomationPeer peer = dataGridColumnHeadersPresenterPeer.FindOrCreateItemAutomationPeer(this.OwningDataGrid.Columns[i]); 282DataGridItemAutomationPeer dataGridItemAutomationPeer = FindOrCreateItemAutomationPeer(item) as DataGridItemAutomationPeer; 317DataGridItemAutomationPeer dataGridItemAutomationPeer = FindOrCreateItemAutomationPeer(cellInfo.Item) as DataGridItemAutomationPeer; 375DataGridItemAutomationPeer dataGridItemAutomationPeer = FindOrCreateItemAutomationPeer(row.Item) as DataGridItemAutomationPeer; 386DataGridItemAutomationPeer dataGridItemAutomationPeer = FindOrCreateItemAutomationPeer(row.Item) as DataGridItemAutomationPeer; 409ItemAutomationPeer peer = FindOrCreateItemAutomationPeer(this.OwningDataGrid.SelectedItem); 422ItemAutomationPeer peer = FindOrCreateItemAutomationPeer(e.AddedItems[i]); 434ItemAutomationPeer peer = FindOrCreateItemAutomationPeer(e.RemovedItems[i]); 453DataGridItemAutomationPeer itemPeer = this.FindOrCreateItemAutomationPeer(cellInfo.Item) as DataGridItemAutomationPeer; 475IRawElementProviderSimple provider = ProviderFromPeer(FindOrCreateItemAutomationPeer(item));
System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (2)
574AutomationPeer dataGridColumnHeaderPeer = columnHeadersPresenterPeer.FindOrCreateItemAutomationPeer(_column); 593DataGridItemAutomationPeer dataGridItemAutomationPeer = dataGridAutomationPeer.FindOrCreateItemAutomationPeer(Item) as DataGridItemAutomationPeer;
System\Windows\Automation\Peers\DataGridColumnHeadersPresenterAutomationPeer.cs (2)
209return (ProviderFromPeer(FindOrCreateItemAutomationPeer(items[i]))); 217currentItemPeer = FindOrCreateItemAutomationPeer(items[i]);
System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (2)
302return (ProviderFromPeer(FindOrCreateItemAutomationPeer(items[i]))); 310currentItemPeer = FindOrCreateItemAutomationPeer(items[i]);
System\Windows\Automation\Peers\SelectorAutomationPeer.cs (4)
108SelectorItemAutomationPeer peer = FindOrCreateItemAutomationPeer(owner._selectedItems[i].Item) as SelectorItemAutomationPeer; 161SelectorItemAutomationPeer peer = FindOrCreateItemAutomationPeer(owner._selectedItems[0].Item) as SelectorItemAutomationPeer; 181SelectorItemAutomationPeer peer = FindOrCreateItemAutomationPeer(e.AddedItems[i]) as SelectorItemAutomationPeer; 191SelectorItemAutomationPeer peer = FindOrCreateItemAutomationPeer(e.RemovedItems[i]) as SelectorItemAutomationPeer;
System\Windows\Controls\DataGrid.cs (1)
6892DataGridItemAutomationPeer dataGridItemAutomationPeer = peer.FindOrCreateItemAutomationPeer(item) as DataGridItemAutomationPeer;
System\Windows\Controls\DataGridRow.cs (1)
1096DataGridItemAutomationPeer rowItemPeer = gridPeer.FindOrCreateItemAutomationPeer(row.DataContext) as DataGridItemAutomationPeer;