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