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