24 writes to EventsSource
PresentationFramework (24)
System\Windows\Automation\Peers\CalendarAutomationPeer.cs (1)
249wrapperPeer.EventsSource = peer;
System\Windows\Automation\Peers\DataGridAutomationPeer.cs (1)
97scrollPeer.EventsSource = this;
System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (1)
863cellPeer.EventsSource = this;
System\Windows\Automation\Peers\DataGridColumnHeadersPresenterAutomationPeer.cs (1)
126wrapperPeer.EventsSource = peer;
System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (1)
502wrapperPeer.EventsSource = peer;
System\Windows\Automation\Peers\DocumentViewerAutomationPeer.cs (1)
50scrollPeer.EventsSource = this;
System\Windows\Automation\Peers\DocumentViewerBaseAutomationPeer.cs (1)
42_documentPeer.EventsSource = this;
System\Windows\Automation\Peers\ExpanderAutomationPeer.cs (1)
42peer.EventsSource = (!AccessibilitySwitches.UseNetFx472CompatibleAccessibilityFeatures && this.EventsSource != null) ? this.EventsSource : this;
System\Windows\Automation\Peers\FlowDocumentScrollViewerAutomationPeer.cs (2)
46scrollPeer.EventsSource = this; 59_documentPeer.EventsSource = this;
System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (3)
102expanderPeer.EventsSource = this; 130_expanderPeer.EventsSource = this; 245wrapperPeer.EventsSource = peer;
System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (3)
34scrollPeer.EventsSource = this; 181wrapperPeer.EventsSource = peer; 386wrapperPeer.EventsSource = peer;
System\Windows\Automation\Peers\PasswordBoxAutomationPeer.cs (1)
74((AutomationPeer)returnValue).EventsSource = this;
System\Windows\Automation\Peers\RichTextBoxAutomationPeer.cs (1)
55((AutomationPeer)returnValue).EventsSource = this;
System\Windows\Automation\Peers\TextBoxAutomationPeer.cs (1)
56((AutomationPeer)returnValue).EventsSource = this;
System\Windows\Automation\Peers\TreeViewAutomationPeer.cs (2)
44scrollPeer.EventsSource = this; 86wrapperPeer.EventsSource = peer;
System\Windows\Automation\Peers\TreeViewItemAutomationPeer.cs (3)
118wrapperPeer.EventsSource = peer; 180wrapperPeer.EventsSource = peer; 240EventsSource = dataPeer;
39 references to EventsSource
PresentationCore (8)
System\Windows\Automation\Peers\AutomationPeer.cs (6)
438if (peer.EventsSource != null) 440peer = peer.EventsSource; 1670_eventsSourceOrPeerRecord = EventsSource; 1683PeerRecord record = new PeerRecord { EventsSource = EventsSource, IterationParent = value }; 1802if((peer == this) && ((eventsSource = EventsSource) != null)) 2125EventsSource?.InvalidateAncestorsRecursive();
System\Windows\Automation\Peers\UIElementAutomationPeer.cs (2)
424peer = peer.EventsSource ?? peer; 459peer = peer.EventsSource ?? peer;
PresentationFramework (20)
System\Windows\Automation\Peers\DataGridRowAutomationPeer.cs (1)
68DataGridItemAutomationPeer itemPeer = this.EventsSource as DataGridItemAutomationPeer;
System\Windows\Automation\Peers\ExpanderAutomationPeer.cs (2)
42peer.EventsSource = (!AccessibilitySwitches.UseNetFx472CompatibleAccessibilityFeatures && this.EventsSource != null) ? this.EventsSource : this;
System\Windows\Automation\Peers\GridViewAutomationPeer.cs (1)
231AutomationPeer eventSource = peer.EventsSource;
System\Windows\Automation\Peers\TreeViewAutomationPeer.cs (2)
162if(peer.EventsSource != null) 163peer = peer.EventsSource;
System\Windows\Automation\Peers\TreeViewItemAutomationPeer.cs (14)
160if (EventsSource as TreeViewDataItemAutomationPeer != null) 162 parentPeer = EventsSource as TreeViewDataItemAutomationPeer; 221return new TreeViewDataItemAutomationPeer(item, this, EventsSource as TreeViewDataItemAutomationPeer); 228TreeViewDataItemAutomationPeer dataPeer = EventsSource as TreeViewDataItemAutomationPeer; 248if(EventsSource as TreeViewDataItemAutomationPeer != null) 250if((EventsSource as TreeViewDataItemAutomationPeer).WeakRefElementProxyStorageCache == null) 251(EventsSource as TreeViewDataItemAutomationPeer).WeakRefElementProxyStorageCache = WeakRefElementProxyStorage; 254WeakRefElementProxyStorage = (EventsSource as TreeViewDataItemAutomationPeer).WeakRefElementProxyStorageCache; 307if (EventsSource as TreeViewDataItemAutomationPeer != null) 309(EventsSource as TreeViewDataItemAutomationPeer).RaiseExpandCollapseAutomationEvent(oldValue, newValue); 389if (EventsSource as TreeViewDataItemAutomationPeer != null) 391(EventsSource as TreeViewDataItemAutomationPeer).RaiseAutomationIsSelectedChanged(isSelected); 403if (EventsSource != null) 405EventsSource.RaiseAutomationEvent(eventId);
System.Windows.Controls.Ribbon (11)
Microsoft\Windows\Automation\Peers\RibbonGalleryAutomationPeer.cs (2)
174if (peer.EventsSource != null) 175peer = peer.EventsSource;
Microsoft\Windows\Automation\Peers\RibbonGalleryCategoryAutomationPeer.cs (1)
88return new RibbonGalleryItemDataAutomationPeer(item, this, EventsSource as RibbonGalleryCategoryDataAutomationPeer);
Microsoft\Windows\Automation\Peers\RibbonGalleryItemAutomationPeer.cs (2)
103EventsSource?.RaisePropertyChangedEvent( 113EventsSource?.RaiseAutomationEvent(eventId);
Microsoft\Windows\Automation\Peers\RibbonGroupAutomationPeer.cs (1)
131AutomationPeer dataPeer = EventsSource;
Microsoft\Windows\Automation\Peers\RibbonMenuItemAutomationPeer.cs (2)
99AutomationPeer dataPeer = EventsSource; 110AutomationPeer dataPeer = EventsSource;
Microsoft\Windows\Automation\Peers\RibbonTabAutomationPeer.cs (3)
127return headerPeer.EventsSource as RibbonTabHeaderDataAutomationPeer; 141AutomationPeer dataPeer = EventsSource; 154AutomationPeer dataPeer = EventsSource;