24 writes to EventsSource
PresentationFramework (24)
System\Windows\Automation\Peers\CalendarAutomationPeer.cs (1)
256wrapperPeer.EventsSource = peer;
System\Windows\Automation\Peers\DataGridAutomationPeer.cs (1)
102scrollPeer.EventsSource = this;
System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (1)
872cellPeer.EventsSource = this;
System\Windows\Automation\Peers\DataGridColumnHeadersPresenterAutomationPeer.cs (1)
128wrapperPeer.EventsSource = peer;
System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (1)
507wrapperPeer.EventsSource = peer;
System\Windows\Automation\Peers\DocumentViewerAutomationPeer.cs (1)
62scrollPeer.EventsSource = this;
System\Windows\Automation\Peers\DocumentViewerBaseAutomationPeer.cs (1)
43_documentPeer.EventsSource = this;
System\Windows\Automation\Peers\ExpanderAutomationPeer.cs (1)
54peer.EventsSource = (!AccessibilitySwitches.UseNetFx472CompatibleAccessibilityFeatures && this.EventsSource != null) ? this.EventsSource : this;
System\Windows\Automation\Peers\FlowDocumentScrollViewerAutomationPeer.cs (2)
47scrollPeer.EventsSource = this; 60_documentPeer.EventsSource = this;
System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (3)
114expanderPeer.EventsSource = this; 142_expanderPeer.EventsSource = this; 260wrapperPeer.EventsSource = peer;
System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (3)
46scrollPeer.EventsSource = this; 196wrapperPeer.EventsSource = peer; 407wrapperPeer.EventsSource = peer;
System\Windows\Automation\Peers\PasswordBoxAutomationPeer.cs (1)
86((AutomationPeer)returnValue).EventsSource = this;
System\Windows\Automation\Peers\RichTextBoxAutomationPeer.cs (1)
66((AutomationPeer)returnValue).EventsSource = this;
System\Windows\Automation\Peers\TextBoxAutomationPeer.cs (1)
67((AutomationPeer)returnValue).EventsSource = this;
System\Windows\Automation\Peers\TreeViewAutomationPeer.cs (2)
57scrollPeer.EventsSource = this; 99wrapperPeer.EventsSource = peer;
System\Windows\Automation\Peers\TreeViewItemAutomationPeer.cs (3)
130wrapperPeer.EventsSource = peer; 195wrapperPeer.EventsSource = peer; 255EventsSource = dataPeer;
42 references to EventsSource
PresentationCore (9)
System\Windows\Automation\Peers\AutomationPeer.cs (7)
449if (peer.EventsSource != null) 451peer = peer.EventsSource; 1681_eventsSourceOrPeerRecord = EventsSource; 1694PeerRecord record = new PeerRecord { EventsSource = EventsSource, IterationParent = value }; 1813if((peer == this) && ((eventsSource = EventsSource) != null)) 2136if (EventsSource != null) 2138EventsSource.InvalidateAncestorsRecursive();
System\Windows\Automation\Peers\UIElementAutomationPeer.cs (2)
433peer = peer.EventsSource ?? peer; 468peer = peer.EventsSource ?? peer;
PresentationFramework (20)
System\Windows\Automation\Peers\DataGridRowAutomationPeer.cs (1)
72DataGridItemAutomationPeer itemPeer = this.EventsSource as DataGridItemAutomationPeer;
System\Windows\Automation\Peers\ExpanderAutomationPeer.cs (2)
54peer.EventsSource = (!AccessibilitySwitches.UseNetFx472CompatibleAccessibilityFeatures && this.EventsSource != null) ? this.EventsSource : this;
System\Windows\Automation\Peers\GridViewAutomationPeer.cs (1)
246AutomationPeer eventSource = peer.EventsSource;
System\Windows\Automation\Peers\TreeViewAutomationPeer.cs (2)
175if(peer.EventsSource != null) 176peer = peer.EventsSource;
System\Windows\Automation\Peers\TreeViewItemAutomationPeer.cs (14)
172if (EventsSource as TreeViewDataItemAutomationPeer != null) 174 parentPeer = EventsSource as TreeViewDataItemAutomationPeer; 236return new TreeViewDataItemAutomationPeer(item, this, EventsSource as TreeViewDataItemAutomationPeer); 243TreeViewDataItemAutomationPeer dataPeer = EventsSource as TreeViewDataItemAutomationPeer; 263if(EventsSource as TreeViewDataItemAutomationPeer != null) 265if((EventsSource as TreeViewDataItemAutomationPeer).WeakRefElementProxyStorageCache == null) 266(EventsSource as TreeViewDataItemAutomationPeer).WeakRefElementProxyStorageCache = WeakRefElementProxyStorage; 269WeakRefElementProxyStorage = (EventsSource as TreeViewDataItemAutomationPeer).WeakRefElementProxyStorageCache; 322if (EventsSource as TreeViewDataItemAutomationPeer != null) 324(EventsSource as TreeViewDataItemAutomationPeer).RaiseExpandCollapseAutomationEvent(oldValue, newValue); 404if (EventsSource as TreeViewDataItemAutomationPeer != null) 406(EventsSource as TreeViewDataItemAutomationPeer).RaiseAutomationIsSelectedChanged(isSelected); 418if (EventsSource != null) 420EventsSource.RaiseAutomationEvent(eventId);
System.Windows.Controls.Ribbon (13)
Microsoft\Windows\Automation\Peers\RibbonGalleryAutomationPeer.cs (2)
177if (peer.EventsSource != null) 178peer = peer.EventsSource;
Microsoft\Windows\Automation\Peers\RibbonGalleryCategoryAutomationPeer.cs (1)
91return new RibbonGalleryItemDataAutomationPeer(item, this, EventsSource as RibbonGalleryCategoryDataAutomationPeer);
Microsoft\Windows\Automation\Peers\RibbonGalleryItemAutomationPeer.cs (4)
107if (EventsSource != null) 109EventsSource.RaisePropertyChangedEvent( 120if (EventsSource != null) 122EventsSource.RaiseAutomationEvent(eventId);
Microsoft\Windows\Automation\Peers\RibbonGroupAutomationPeer.cs (1)
136AutomationPeer dataPeer = EventsSource;
Microsoft\Windows\Automation\Peers\RibbonMenuItemAutomationPeer.cs (2)
101AutomationPeer dataPeer = EventsSource; 115AutomationPeer dataPeer = EventsSource;
Microsoft\Windows\Automation\Peers\RibbonTabAutomationPeer.cs (3)
130return headerPeer.EventsSource as RibbonTabHeaderDataAutomationPeer; 144AutomationPeer dataPeer = EventsSource; 160AutomationPeer dataPeer = EventsSource;