1 override of FindOrCreateItemAutomationPeer
PresentationFramework (1)
System\Windows\Automation\Peers\TreeViewItemAutomationPeer.cs (1)
156protected override internal ItemAutomationPeer FindOrCreateItemAutomationPeer(object item)
23 references to FindOrCreateItemAutomationPeer
PresentationFramework (23)
System\Windows\Automation\Peers\DataGridAutomationPeer.cs (11)
154DataGridItemAutomationPeer itemPeer = this.FindOrCreateItemAutomationPeer(item) as DataGridItemAutomationPeer; 248AutomationPeer peer = dataGridColumnHeadersPresenterPeer.FindOrCreateItemAutomationPeer(this.OwningDataGrid.Columns[i]); 277DataGridItemAutomationPeer dataGridItemAutomationPeer = FindOrCreateItemAutomationPeer(item) as DataGridItemAutomationPeer; 312DataGridItemAutomationPeer dataGridItemAutomationPeer = FindOrCreateItemAutomationPeer(cellInfo.Item) as DataGridItemAutomationPeer; 361DataGridItemAutomationPeer dataGridItemAutomationPeer = FindOrCreateItemAutomationPeer(row.Item) as DataGridItemAutomationPeer; 369DataGridItemAutomationPeer dataGridItemAutomationPeer = FindOrCreateItemAutomationPeer(row.Item) as DataGridItemAutomationPeer; 389ItemAutomationPeer peer = FindOrCreateItemAutomationPeer(this.OwningDataGrid.SelectedItem); 399ItemAutomationPeer peer = FindOrCreateItemAutomationPeer(e.AddedItems[i]); 408ItemAutomationPeer peer = FindOrCreateItemAutomationPeer(e.RemovedItems[i]); 424DataGridItemAutomationPeer itemPeer = this.FindOrCreateItemAutomationPeer(cellInfo.Item) as DataGridItemAutomationPeer; 446IRawElementProviderSimple provider = ProviderFromPeer(FindOrCreateItemAutomationPeer(item));
System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (2)
565AutomationPeer dataGridColumnHeaderPeer = columnHeadersPresenterPeer.FindOrCreateItemAutomationPeer(_column); 584DataGridItemAutomationPeer dataGridItemAutomationPeer = dataGridAutomationPeer.FindOrCreateItemAutomationPeer(Item) as DataGridItemAutomationPeer;
System\Windows\Automation\Peers\DataGridColumnHeadersPresenterAutomationPeer.cs (2)
207return (ProviderFromPeer(FindOrCreateItemAutomationPeer(items[i]))); 215currentItemPeer = FindOrCreateItemAutomationPeer(items[i]);
System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (2)
284return (ProviderFromPeer(FindOrCreateItemAutomationPeer(items[i]))); 292currentItemPeer = FindOrCreateItemAutomationPeer(items[i]);
System\Windows\Automation\Peers\SelectorAutomationPeer.cs (4)
96SelectorItemAutomationPeer peer = FindOrCreateItemAutomationPeer(owner._selectedItems[i].Item) as SelectorItemAutomationPeer; 149SelectorItemAutomationPeer peer = FindOrCreateItemAutomationPeer(owner._selectedItems[0].Item) as SelectorItemAutomationPeer; 166SelectorItemAutomationPeer peer = FindOrCreateItemAutomationPeer(e.AddedItems[i]) as SelectorItemAutomationPeer; 173SelectorItemAutomationPeer peer = FindOrCreateItemAutomationPeer(e.RemovedItems[i]) as SelectorItemAutomationPeer;
System\Windows\Controls\DataGrid.cs (1)
6848DataGridItemAutomationPeer dataGridItemAutomationPeer = peer.FindOrCreateItemAutomationPeer(item) as DataGridItemAutomationPeer;
System\Windows\Controls\DataGridRow.cs (1)
1070DataGridItemAutomationPeer rowItemPeer = gridPeer.FindOrCreateItemAutomationPeer(row.DataContext) as DataGridItemAutomationPeer;