1 override of FindOrCreateItemAutomationPeer
PresentationFramework (1)
System\Windows\Automation\Peers\TreeViewItemAutomationPeer.cs (1)
156
protected override internal ItemAutomationPeer
FindOrCreateItemAutomationPeer
(object item)
23 references to FindOrCreateItemAutomationPeer
PresentationFramework (23)
System\Windows\Automation\Peers\DataGridAutomationPeer.cs (11)
154
DataGridItemAutomationPeer itemPeer = this.
FindOrCreateItemAutomationPeer
(item) as DataGridItemAutomationPeer;
248
AutomationPeer peer = dataGridColumnHeadersPresenterPeer.
FindOrCreateItemAutomationPeer
(this.OwningDataGrid.Columns[i]);
277
DataGridItemAutomationPeer dataGridItemAutomationPeer =
FindOrCreateItemAutomationPeer
(item) as DataGridItemAutomationPeer;
312
DataGridItemAutomationPeer dataGridItemAutomationPeer =
FindOrCreateItemAutomationPeer
(cellInfo.Item) as DataGridItemAutomationPeer;
370
DataGridItemAutomationPeer dataGridItemAutomationPeer =
FindOrCreateItemAutomationPeer
(row.Item) as DataGridItemAutomationPeer;
381
DataGridItemAutomationPeer dataGridItemAutomationPeer =
FindOrCreateItemAutomationPeer
(row.Item) as DataGridItemAutomationPeer;
404
ItemAutomationPeer peer =
FindOrCreateItemAutomationPeer
(this.OwningDataGrid.SelectedItem);
417
ItemAutomationPeer peer =
FindOrCreateItemAutomationPeer
(e.AddedItems[i]);
429
ItemAutomationPeer peer =
FindOrCreateItemAutomationPeer
(e.RemovedItems[i]);
448
DataGridItemAutomationPeer itemPeer = this.
FindOrCreateItemAutomationPeer
(cellInfo.Item) as DataGridItemAutomationPeer;
470
IRawElementProviderSimple provider = ProviderFromPeer(
FindOrCreateItemAutomationPeer
(item));
System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (2)
568
AutomationPeer dataGridColumnHeaderPeer = columnHeadersPresenterPeer.
FindOrCreateItemAutomationPeer
(_column);
587
DataGridItemAutomationPeer dataGridItemAutomationPeer = dataGridAutomationPeer.
FindOrCreateItemAutomationPeer
(Item) as DataGridItemAutomationPeer;
System\Windows\Automation\Peers\DataGridColumnHeadersPresenterAutomationPeer.cs (2)
207
return (ProviderFromPeer(
FindOrCreateItemAutomationPeer
(items[i])));
215
currentItemPeer =
FindOrCreateItemAutomationPeer
(items[i]);
System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (2)
290
return (ProviderFromPeer(
FindOrCreateItemAutomationPeer
(items[i])));
298
currentItemPeer =
FindOrCreateItemAutomationPeer
(items[i]);
System\Windows\Automation\Peers\SelectorAutomationPeer.cs (4)
96
SelectorItemAutomationPeer peer =
FindOrCreateItemAutomationPeer
(owner._selectedItems[i].Item) as SelectorItemAutomationPeer;
149
SelectorItemAutomationPeer peer =
FindOrCreateItemAutomationPeer
(owner._selectedItems[0].Item) as SelectorItemAutomationPeer;
169
SelectorItemAutomationPeer peer =
FindOrCreateItemAutomationPeer
(e.AddedItems[i]) as SelectorItemAutomationPeer;
179
SelectorItemAutomationPeer peer =
FindOrCreateItemAutomationPeer
(e.RemovedItems[i]) as SelectorItemAutomationPeer;
System\Windows\Controls\DataGrid.cs (1)
6889
DataGridItemAutomationPeer dataGridItemAutomationPeer = peer.
FindOrCreateItemAutomationPeer
(item) as DataGridItemAutomationPeer;
System\Windows\Controls\DataGridRow.cs (1)
1092
DataGridItemAutomationPeer rowItemPeer = gridPeer.
FindOrCreateItemAutomationPeer
(row.DataContext) as DataGridItemAutomationPeer;