24 writes to EventsSource
PresentationFramework (24)
System\Windows\Automation\Peers\CalendarAutomationPeer.cs (1)
248wrapperPeer.EventsSource = peer;
System\Windows\Automation\Peers\DataGridAutomationPeer.cs (1)
96scrollPeer.EventsSource = this;
System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (1)
862cellPeer.EventsSource = this;
System\Windows\Automation\Peers\DataGridColumnHeadersPresenterAutomationPeer.cs (1)
125wrapperPeer.EventsSource = peer;
System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (1)
501wrapperPeer.EventsSource = peer;
System\Windows\Automation\Peers\DocumentViewerAutomationPeer.cs (1)
49scrollPeer.EventsSource = this;
System\Windows\Automation\Peers\DocumentViewerBaseAutomationPeer.cs (1)
41_documentPeer.EventsSource = this;
System\Windows\Automation\Peers\ExpanderAutomationPeer.cs (1)
41peer.EventsSource = (!AccessibilitySwitches.UseNetFx472CompatibleAccessibilityFeatures && this.EventsSource != null) ? this.EventsSource : this;
System\Windows\Automation\Peers\FlowDocumentScrollViewerAutomationPeer.cs (2)
45scrollPeer.EventsSource = this; 58_documentPeer.EventsSource = this;
System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (3)
101expanderPeer.EventsSource = this; 129_expanderPeer.EventsSource = this; 244wrapperPeer.EventsSource = peer;
System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (3)
33scrollPeer.EventsSource = this; 180wrapperPeer.EventsSource = peer; 385wrapperPeer.EventsSource = peer;
System\Windows\Automation\Peers\PasswordBoxAutomationPeer.cs (1)
73((AutomationPeer)returnValue).EventsSource = this;
System\Windows\Automation\Peers\RichTextBoxAutomationPeer.cs (1)
54((AutomationPeer)returnValue).EventsSource = this;
System\Windows\Automation\Peers\TextBoxAutomationPeer.cs (1)
55((AutomationPeer)returnValue).EventsSource = this;
System\Windows\Automation\Peers\TreeViewAutomationPeer.cs (2)
43scrollPeer.EventsSource = this; 85wrapperPeer.EventsSource = peer;
System\Windows\Automation\Peers\TreeViewItemAutomationPeer.cs (3)
117wrapperPeer.EventsSource = peer; 179wrapperPeer.EventsSource = peer; 239EventsSource = dataPeer;
39 references to EventsSource
PresentationCore (8)
System\Windows\Automation\Peers\AutomationPeer.cs (6)
437if (peer.EventsSource != null) 439peer = peer.EventsSource; 1669_eventsSourceOrPeerRecord = EventsSource; 1682PeerRecord record = new PeerRecord { EventsSource = EventsSource, IterationParent = value }; 1801if((peer == this) && ((eventsSource = EventsSource) != null)) 2124EventsSource?.InvalidateAncestorsRecursive();
System\Windows\Automation\Peers\UIElementAutomationPeer.cs (2)
423peer = peer.EventsSource ?? peer; 458peer = peer.EventsSource ?? peer;
PresentationFramework (20)
System\Windows\Automation\Peers\DataGridRowAutomationPeer.cs (1)
67DataGridItemAutomationPeer itemPeer = this.EventsSource as DataGridItemAutomationPeer;
System\Windows\Automation\Peers\ExpanderAutomationPeer.cs (2)
41peer.EventsSource = (!AccessibilitySwitches.UseNetFx472CompatibleAccessibilityFeatures && this.EventsSource != null) ? this.EventsSource : this;
System\Windows\Automation\Peers\GridViewAutomationPeer.cs (1)
230AutomationPeer eventSource = peer.EventsSource;
System\Windows\Automation\Peers\TreeViewAutomationPeer.cs (2)
161if(peer.EventsSource != null) 162peer = peer.EventsSource;
System\Windows\Automation\Peers\TreeViewItemAutomationPeer.cs (14)
159if (EventsSource as TreeViewDataItemAutomationPeer != null) 161 parentPeer = EventsSource as TreeViewDataItemAutomationPeer; 220return new TreeViewDataItemAutomationPeer(item, this, EventsSource as TreeViewDataItemAutomationPeer); 227TreeViewDataItemAutomationPeer dataPeer = EventsSource as TreeViewDataItemAutomationPeer; 247if(EventsSource as TreeViewDataItemAutomationPeer != null) 249if((EventsSource as TreeViewDataItemAutomationPeer).WeakRefElementProxyStorageCache == null) 250(EventsSource as TreeViewDataItemAutomationPeer).WeakRefElementProxyStorageCache = WeakRefElementProxyStorage; 253WeakRefElementProxyStorage = (EventsSource as TreeViewDataItemAutomationPeer).WeakRefElementProxyStorageCache; 306if (EventsSource as TreeViewDataItemAutomationPeer != null) 308(EventsSource as TreeViewDataItemAutomationPeer).RaiseExpandCollapseAutomationEvent(oldValue, newValue); 388if (EventsSource as TreeViewDataItemAutomationPeer != null) 390(EventsSource as TreeViewDataItemAutomationPeer).RaiseAutomationIsSelectedChanged(isSelected); 402if (EventsSource != null) 404EventsSource.RaiseAutomationEvent(eventId);
System.Windows.Controls.Ribbon (11)
Microsoft\Windows\Automation\Peers\RibbonGalleryAutomationPeer.cs (2)
173if (peer.EventsSource != null) 174peer = peer.EventsSource;
Microsoft\Windows\Automation\Peers\RibbonGalleryCategoryAutomationPeer.cs (1)
87return new RibbonGalleryItemDataAutomationPeer(item, this, EventsSource as RibbonGalleryCategoryDataAutomationPeer);
Microsoft\Windows\Automation\Peers\RibbonGalleryItemAutomationPeer.cs (2)
102EventsSource?.RaisePropertyChangedEvent( 112EventsSource?.RaiseAutomationEvent(eventId);
Microsoft\Windows\Automation\Peers\RibbonGroupAutomationPeer.cs (1)
130AutomationPeer dataPeer = EventsSource;
Microsoft\Windows\Automation\Peers\RibbonMenuItemAutomationPeer.cs (2)
98AutomationPeer dataPeer = EventsSource; 109AutomationPeer dataPeer = EventsSource;
Microsoft\Windows\Automation\Peers\RibbonTabAutomationPeer.cs (3)
126return headerPeer.EventsSource as RibbonTabHeaderDataAutomationPeer; 140AutomationPeer dataPeer = EventsSource; 153AutomationPeer dataPeer = EventsSource;