1 override of FindOrCreateItemAutomationPeer
PresentationFramework (1)
src\Framework\System\Windows\Automation\Peers\TreeViewItemAutomationPeer.cs (1)
169
protected override internal ItemAutomationPeer
FindOrCreateItemAutomationPeer
(object item)
23 references to FindOrCreateItemAutomationPeer
PresentationFramework (23)
src\Framework\System\Windows\Automation\Peers\DataGridAutomationPeer.cs (11)
158
DataGridItemAutomationPeer itemPeer = this.
FindOrCreateItemAutomationPeer
(item) as DataGridItemAutomationPeer;
252
AutomationPeer peer = dataGridColumnHeadersPresenterPeer.
FindOrCreateItemAutomationPeer
(this.OwningDataGrid.Columns[i]);
281
DataGridItemAutomationPeer dataGridItemAutomationPeer =
FindOrCreateItemAutomationPeer
(item) as DataGridItemAutomationPeer;
316
DataGridItemAutomationPeer dataGridItemAutomationPeer =
FindOrCreateItemAutomationPeer
(cellInfo.Item) as DataGridItemAutomationPeer;
374
DataGridItemAutomationPeer dataGridItemAutomationPeer =
FindOrCreateItemAutomationPeer
(row.Item) as DataGridItemAutomationPeer;
385
DataGridItemAutomationPeer dataGridItemAutomationPeer =
FindOrCreateItemAutomationPeer
(row.Item) as DataGridItemAutomationPeer;
408
ItemAutomationPeer peer =
FindOrCreateItemAutomationPeer
(this.OwningDataGrid.SelectedItem);
421
ItemAutomationPeer peer =
FindOrCreateItemAutomationPeer
(e.AddedItems[i]);
433
ItemAutomationPeer peer =
FindOrCreateItemAutomationPeer
(e.RemovedItems[i]);
455
DataGridItemAutomationPeer itemPeer = this.
FindOrCreateItemAutomationPeer
(cellInfo.Item) as DataGridItemAutomationPeer;
480
IRawElementProviderSimple provider = ProviderFromPeer(
FindOrCreateItemAutomationPeer
(item));
src\Framework\System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (2)
548
AutomationPeer dataGridColumnHeaderPeer = columnHeadersPresenterPeer.
FindOrCreateItemAutomationPeer
(_column);
567
DataGridItemAutomationPeer dataGridItemAutomationPeer = dataGridAutomationPeer.
FindOrCreateItemAutomationPeer
(Item) as DataGridItemAutomationPeer;
src\Framework\System\Windows\Automation\Peers\DataGridColumnHeadersPresenterAutomationPeer.cs (2)
205
return (ProviderFromPeer(
FindOrCreateItemAutomationPeer
(items[i])));
213
currentItemPeer =
FindOrCreateItemAutomationPeer
(items[i]);
src\Framework\System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (2)
299
return (ProviderFromPeer(
FindOrCreateItemAutomationPeer
(items[i])));
307
currentItemPeer =
FindOrCreateItemAutomationPeer
(items[i]);
src\Framework\System\Windows\Automation\Peers\SelectorAutomationPeer.cs (4)
105
SelectorItemAutomationPeer peer =
FindOrCreateItemAutomationPeer
(owner._selectedItems[i].Item) as SelectorItemAutomationPeer;
158
SelectorItemAutomationPeer peer =
FindOrCreateItemAutomationPeer
(owner._selectedItems[0].Item) as SelectorItemAutomationPeer;
178
SelectorItemAutomationPeer peer =
FindOrCreateItemAutomationPeer
(e.AddedItems[i]) as SelectorItemAutomationPeer;
188
SelectorItemAutomationPeer peer =
FindOrCreateItemAutomationPeer
(e.RemovedItems[i]) as SelectorItemAutomationPeer;
src\Framework\System\Windows\Controls\DataGrid.cs (1)
6895
DataGridItemAutomationPeer dataGridItemAutomationPeer = peer.
FindOrCreateItemAutomationPeer
(item) as DataGridItemAutomationPeer;
src\Framework\System\Windows\Controls\DataGridRow.cs (1)
1097
DataGridItemAutomationPeer rowItemPeer = gridPeer.
FindOrCreateItemAutomationPeer
(row.DataContext) as DataGridItemAutomationPeer;