24 writes to EventsSource
PresentationFramework (24)
System\Windows\Automation\Peers\CalendarAutomationPeer.cs (1)
250wrapperPeer.EventsSource = peer;
System\Windows\Automation\Peers\DataGridAutomationPeer.cs (1)
97scrollPeer.EventsSource = this;
System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (1)
866cellPeer.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; 248wrapperPeer.EventsSource = peer;
System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (3)
34scrollPeer.EventsSource = this; 184wrapperPeer.EventsSource = peer; 395wrapperPeer.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; 183wrapperPeer.EventsSource = peer; 243EventsSource = dataPeer;
42 references to EventsSource
PresentationCore (9)
System\Windows\Automation\Peers\AutomationPeer.cs (7)
436if (peer.EventsSource != null) 438peer = peer.EventsSource; 1668_eventsSourceOrPeerRecord = EventsSource; 1681PeerRecord record = new PeerRecord { EventsSource = EventsSource, IterationParent = value }; 1800if((peer == this) && ((eventsSource = EventsSource) != null)) 2123if (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)
234AutomationPeer 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; 224return new TreeViewDataItemAutomationPeer(item, this, EventsSource as TreeViewDataItemAutomationPeer); 231TreeViewDataItemAutomationPeer dataPeer = EventsSource as TreeViewDataItemAutomationPeer; 251if(EventsSource as TreeViewDataItemAutomationPeer != null) 253if((EventsSource as TreeViewDataItemAutomationPeer).WeakRefElementProxyStorageCache == null) 254(EventsSource as TreeViewDataItemAutomationPeer).WeakRefElementProxyStorageCache = WeakRefElementProxyStorage; 257WeakRefElementProxyStorage = (EventsSource as TreeViewDataItemAutomationPeer).WeakRefElementProxyStorageCache; 310if (EventsSource as TreeViewDataItemAutomationPeer != null) 312(EventsSource as TreeViewDataItemAutomationPeer).RaiseExpandCollapseAutomationEvent(oldValue, newValue); 392if (EventsSource as TreeViewDataItemAutomationPeer != null) 394(EventsSource as TreeViewDataItemAutomationPeer).RaiseAutomationIsSelectedChanged(isSelected); 406if (EventsSource != null) 408EventsSource.RaiseAutomationEvent(eventId);
System.Windows.Controls.Ribbon (13)
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 (4)
103if (EventsSource != null) 105EventsSource.RaisePropertyChangedEvent( 116if (EventsSource != null) 118EventsSource.RaiseAutomationEvent(eventId);
Microsoft\Windows\Automation\Peers\RibbonGroupAutomationPeer.cs (1)
131AutomationPeer dataPeer = EventsSource;
Microsoft\Windows\Automation\Peers\RibbonMenuItemAutomationPeer.cs (2)
99AutomationPeer dataPeer = EventsSource; 113AutomationPeer dataPeer = EventsSource;
Microsoft\Windows\Automation\Peers\RibbonTabAutomationPeer.cs (3)
127return headerPeer.EventsSource as RibbonTabHeaderDataAutomationPeer; 141AutomationPeer dataPeer = EventsSource; 157AutomationPeer dataPeer = EventsSource;