37 references to ProviderFromPeer
PresentationCore (5)
Core\CSharp\MS\Internal\Automation\InteropAutomationProvider.cs (1)
97return (IRawElementProviderFragment)_parent.ProviderFromPeer(_parent);
Core\CSharp\System\Windows\Automation\Peers\AutomationPeer.cs (4)
348IRawElementProviderSimple provider = ProviderFromPeer(this); 370RaisePropertyChangedInternal(ProviderFromPeer(this), property,oldValue,newValue); 386IRawElementProviderSimple provider = ProviderFromPeer(this); 1270result[i] = ProviderFromPeer(controlledPeers[i]);
PresentationFramework (32)
src\Framework\System\Windows\Automation\Peers\CalendarAutomationPeer.cs (4)
403return ProviderFromPeer(peer); 492providers.Add(ProviderFromPeer(peer)); 567return ProviderFromPeer(nextPeer); 646providers.Add(ProviderFromPeer(peer));
src\Framework\System\Windows\Automation\Peers\ContentTextAutomationPeer.cs (1)
34return base.ProviderFromPeer(peer);
src\Framework\System\Windows\Automation\Peers\DataGridAutomationPeer.cs (5)
164return ProviderFromPeer(cellItemPeer); 255providers.Add(ProviderFromPeer(peer)); 285providers.Add(ProviderFromPeer(rowHeaderAutomationPeer)); 458IRawElementProviderSimple provider = ProviderFromPeer(itemPeer.GetOrCreateCellItemPeer(cellInfo.Column)); 480IRawElementProviderSimple provider = ProviderFromPeer(FindOrCreateItemAutomationPeer(item));
src\Framework\System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (3)
552providers.Add(ProviderFromPeer(dataGridColumnHeaderPeer)); 574providers.Add(ProviderFromPeer(rowHeaderAutomationPeer)); 860return ProviderFromPeer(peer);
src\Framework\System\Windows\Automation\Peers\DataGridColumnHeadersPresenterAutomationPeer.cs (3)
205return (ProviderFromPeer(FindOrCreateItemAutomationPeer(items[i]))); 230return (ProviderFromPeer(currentItemPeer)); 237return (ProviderFromPeer(currentItemPeer));
src\Framework\System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (5)
178return (ProviderFromPeer(GetOrCreateCellItemPeer(columns[startIndex]))); 202return (ProviderFromPeer(currentItemPeer)); 209return (ProviderFromPeer(currentItemPeer)); 289return ProviderFromPeer(_dataGridAutomationPeer); 393selectedProviders.Add(ProviderFromPeer(peer));
src\Framework\System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (1)
103return ProviderFromPeer(peer);
src\Framework\System\Windows\Automation\Peers\GridViewCellAutomationPeer.cs (2)
120return new IRawElementProviderSimple[] { ProviderFromPeer(peer) }; 135IRawElementProviderSimple IGridItemProvider.ContainingGrid { get { return ProviderFromPeer(_listviewAP); } }
src\Framework\System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (3)
299return (ProviderFromPeer(FindOrCreateItemAutomationPeer(items[i]))); 323return (ProviderFromPeer(currentItemPeer)); 330return (ProviderFromPeer(currentItemPeer));
src\Framework\System\Windows\Automation\Peers\SelectorAutomationPeer.cs (1)
108selectedProviders.Add(ProviderFromPeer(peer));
src\Framework\System\Windows\Automation\Peers\SelectorItemAutomationPeer.cs (1)
118return ProviderFromPeer(ItemsControlAutomationPeer);
src\Framework\System\Windows\Automation\Peers\TextAutomationPeer.cs (1)
60return base.ProviderFromPeer(peer);
src\Framework\System\Windows\Automation\Peers\TreeViewAutomationPeer.cs (1)
177selection = new IRawElementProviderSimple[] { ProviderFromPeer(peer) };
src\Framework\System\Windows\Automation\Peers\TreeViewItemAutomationPeer.cs (1)
389return ProviderFromPeer(peer);