24 writes to EventsSource
PresentationFramework (24)
src\Framework\System\Windows\Automation\Peers\CalendarAutomationPeer.cs (1)
263wrapperPeer.EventsSource = peer;
src\Framework\System\Windows\Automation\Peers\DataGridAutomationPeer.cs (1)
101scrollPeer.EventsSource = this;
src\Framework\System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (1)
846cellPeer.EventsSource = this;
src\Framework\System\Windows\Automation\Peers\DataGridColumnHeadersPresenterAutomationPeer.cs (1)
124wrapperPeer.EventsSource = peer;
src\Framework\System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (1)
516wrapperPeer.EventsSource = peer;
src\Framework\System\Windows\Automation\Peers\DocumentViewerAutomationPeer.cs (1)
59scrollPeer.EventsSource = this;
src\Framework\System\Windows\Automation\Peers\DocumentViewerBaseAutomationPeer.cs (1)
45_documentPeer.EventsSource = this;
src\Framework\System\Windows\Automation\Peers\ExpanderAutomationPeer.cs (1)
50peer.EventsSource = (!AccessibilitySwitches.UseNetFx472CompatibleAccessibilityFeatures && this.EventsSource != null) ? this.EventsSource : this;
src\Framework\System\Windows\Automation\Peers\FlowDocumentScrollViewerAutomationPeer.cs (2)
48scrollPeer.EventsSource = this; 61_documentPeer.EventsSource = this;
src\Framework\System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (3)
110expanderPeer.EventsSource = this; 145_expanderPeer.EventsSource = this; 246wrapperPeer.EventsSource = peer;
src\Framework\System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (3)
43scrollPeer.EventsSource = this; 193wrapperPeer.EventsSource = peer; 410wrapperPeer.EventsSource = peer;
src\Framework\System\Windows\Automation\Peers\PasswordBoxAutomationPeer.cs (1)
87((AutomationPeer)returnValue).EventsSource = this;
src\Framework\System\Windows\Automation\Peers\RichTextBoxAutomationPeer.cs (1)
62((AutomationPeer)returnValue).EventsSource = this;
src\Framework\System\Windows\Automation\Peers\TextBoxAutomationPeer.cs (1)
63((AutomationPeer)returnValue).EventsSource = this;
src\Framework\System\Windows\Automation\Peers\TreeViewAutomationPeer.cs (2)
54scrollPeer.EventsSource = this; 96wrapperPeer.EventsSource = peer;
src\Framework\System\Windows\Automation\Peers\TreeViewItemAutomationPeer.cs (3)
126wrapperPeer.EventsSource = peer; 196wrapperPeer.EventsSource = peer; 256EventsSource = dataPeer;
29 references to EventsSource
PresentationCore (9)
Core\CSharp\System\Windows\Automation\Peers\AutomationPeer.cs (7)
448if (peer.EventsSource != null) 450peer = peer.EventsSource; 1587_eventsSourceOrPeerRecord = EventsSource; 1600PeerRecord record = new PeerRecord { EventsSource = EventsSource, IterationParent = value }; 1719if((peer == this) && ((eventsSource = EventsSource) != null)) 2046if (EventsSource != null) 2048EventsSource.InvalidateAncestorsRecursive();
Core\CSharp\System\Windows\Automation\Peers\UIElementAutomationPeer.cs (2)
450peer = peer.EventsSource ?? peer; 485peer = peer.EventsSource ?? peer;
PresentationFramework (20)
src\Framework\System\Windows\Automation\Peers\DataGridRowAutomationPeer.cs (1)
71DataGridItemAutomationPeer itemPeer = this.EventsSource as DataGridItemAutomationPeer;
src\Framework\System\Windows\Automation\Peers\ExpanderAutomationPeer.cs (2)
50peer.EventsSource = (!AccessibilitySwitches.UseNetFx472CompatibleAccessibilityFeatures && this.EventsSource != null) ? this.EventsSource : this;
src\Framework\System\Windows\Automation\Peers\GridViewAutomationPeer.cs (1)
246AutomationPeer eventSource = peer.EventsSource;
src\Framework\System\Windows\Automation\Peers\TreeViewAutomationPeer.cs (2)
172if(peer.EventsSource != null) 173peer = peer.EventsSource;
src\Framework\System\Windows\Automation\Peers\TreeViewItemAutomationPeer.cs (14)
173if (EventsSource as TreeViewDataItemAutomationPeer != null) 175 parentPeer = EventsSource as TreeViewDataItemAutomationPeer; 237return new TreeViewDataItemAutomationPeer(item, this, EventsSource as TreeViewDataItemAutomationPeer); 244TreeViewDataItemAutomationPeer dataPeer = EventsSource as TreeViewDataItemAutomationPeer; 264if(EventsSource as TreeViewDataItemAutomationPeer != null) 266if((EventsSource as TreeViewDataItemAutomationPeer).WeakRefElementProxyStorageCache == null) 267(EventsSource as TreeViewDataItemAutomationPeer).WeakRefElementProxyStorageCache = WeakRefElementProxyStorage; 270WeakRefElementProxyStorage = (EventsSource as TreeViewDataItemAutomationPeer).WeakRefElementProxyStorageCache; 323if (EventsSource as TreeViewDataItemAutomationPeer != null) 325(EventsSource as TreeViewDataItemAutomationPeer).RaiseExpandCollapseAutomationEvent(oldValue, newValue); 405if (EventsSource as TreeViewDataItemAutomationPeer != null) 407(EventsSource as TreeViewDataItemAutomationPeer).RaiseAutomationIsSelectedChanged(isSelected); 419if (EventsSource != null) 421EventsSource.RaiseAutomationEvent(eventId);