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;
361
DataGridItemAutomationPeer dataGridItemAutomationPeer =
FindOrCreateItemAutomationPeer
(row.Item) as DataGridItemAutomationPeer;
369
DataGridItemAutomationPeer dataGridItemAutomationPeer =
FindOrCreateItemAutomationPeer
(row.Item) as DataGridItemAutomationPeer;
389
ItemAutomationPeer peer =
FindOrCreateItemAutomationPeer
(this.OwningDataGrid.SelectedItem);
399
ItemAutomationPeer peer =
FindOrCreateItemAutomationPeer
(e.AddedItems[i]);
408
ItemAutomationPeer peer =
FindOrCreateItemAutomationPeer
(e.RemovedItems[i]);
424
DataGridItemAutomationPeer itemPeer = this.
FindOrCreateItemAutomationPeer
(cellInfo.Item) as DataGridItemAutomationPeer;
446
IRawElementProviderSimple provider = ProviderFromPeer(
FindOrCreateItemAutomationPeer
(item));
System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (2)
565
AutomationPeer dataGridColumnHeaderPeer = columnHeadersPresenterPeer.
FindOrCreateItemAutomationPeer
(_column);
584
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)
284
return (ProviderFromPeer(
FindOrCreateItemAutomationPeer
(items[i])));
292
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;
166
SelectorItemAutomationPeer peer =
FindOrCreateItemAutomationPeer
(e.AddedItems[i]) as SelectorItemAutomationPeer;
173
SelectorItemAutomationPeer peer =
FindOrCreateItemAutomationPeer
(e.RemovedItems[i]) as SelectorItemAutomationPeer;
System\Windows\Controls\DataGrid.cs (1)
6848
DataGridItemAutomationPeer dataGridItemAutomationPeer = peer.
FindOrCreateItemAutomationPeer
(item) as DataGridItemAutomationPeer;
System\Windows\Controls\DataGridRow.cs (1)
1070
DataGridItemAutomationPeer rowItemPeer = gridPeer.
FindOrCreateItemAutomationPeer
(row.DataContext) as DataGridItemAutomationPeer;