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