16 writes to EventsSource
PresentationFramework (16)
System\Windows\Automation\Peers\DataGridAutomationPeer.cs (1)
96scrollPeer.EventsSource = this;
System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (1)
862cellPeer.EventsSource = this;
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 (1)
33scrollPeer.EventsSource = this;
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 (1)
43scrollPeer.EventsSource = this;
System\Windows\Automation\Peers\TreeViewItemAutomationPeer.cs (1)
233EventsSource = dataPeer;
47 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)
420peer = peer.EventsSource ?? peer; 455peer = peer.EventsSource ?? peer;
PresentationFramework (28)
System\Windows\Automation\Peers\CalendarAutomationPeer.cs (1)
246wrapperPeer?.EventsSource = peer;
System\Windows\Automation\Peers\DataGridColumnHeadersPresenterAutomationPeer.cs (1)
123wrapperPeer?.EventsSource = peer;
System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (1)
499wrapperPeer?.EventsSource = peer;
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\ItemsControlAutomationPeer.cs (2)
178wrapperPeer?.EventsSource = peer; 380wrapperPeer?.EventsSource = peer;
System\Windows\Automation\Peers\TreeViewAutomationPeer.cs (3)
83wrapperPeer?.EventsSource = peer; 158if(peer.EventsSource != null) 159peer = peer.EventsSource;
System\Windows\Automation\Peers\TreeViewItemAutomationPeer.cs (16)
115wrapperPeer?.EventsSource = peer; 156if (EventsSource as TreeViewDataItemAutomationPeer != null) 158 parentPeer = EventsSource as TreeViewDataItemAutomationPeer; 174wrapperPeer?.EventsSource = peer; 214return new TreeViewDataItemAutomationPeer(item, this, EventsSource as TreeViewDataItemAutomationPeer); 221TreeViewDataItemAutomationPeer dataPeer = EventsSource as TreeViewDataItemAutomationPeer; 241if(EventsSource as TreeViewDataItemAutomationPeer != null) 243if((EventsSource as TreeViewDataItemAutomationPeer).WeakRefElementProxyStorageCache == null) 244(EventsSource as TreeViewDataItemAutomationPeer).WeakRefElementProxyStorageCache = WeakRefElementProxyStorage; 247WeakRefElementProxyStorage = (EventsSource as TreeViewDataItemAutomationPeer).WeakRefElementProxyStorageCache; 300if (EventsSource as TreeViewDataItemAutomationPeer != null) 302(EventsSource as TreeViewDataItemAutomationPeer).RaiseExpandCollapseAutomationEvent(oldValue, newValue); 382if (EventsSource as TreeViewDataItemAutomationPeer != null) 384(EventsSource as TreeViewDataItemAutomationPeer).RaiseAutomationIsSelectedChanged(isSelected); 396if (EventsSource != null) 398EventsSource.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;