24 writes to EventsSource
PresentationFramework (24)
System\Windows\Automation\Peers\CalendarAutomationPeer.cs (1)
250
wrapperPeer.
EventsSource
= peer;
System\Windows\Automation\Peers\DataGridAutomationPeer.cs (1)
97
scrollPeer.
EventsSource
= this;
System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (1)
866
cellPeer.
EventsSource
= this;
System\Windows\Automation\Peers\DataGridColumnHeadersPresenterAutomationPeer.cs (1)
126
wrapperPeer.
EventsSource
= peer;
System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (1)
502
wrapperPeer.
EventsSource
= peer;
System\Windows\Automation\Peers\DocumentViewerAutomationPeer.cs (1)
50
scrollPeer.
EventsSource
= this;
System\Windows\Automation\Peers\DocumentViewerBaseAutomationPeer.cs (1)
42
_documentPeer.
EventsSource
= this;
System\Windows\Automation\Peers\ExpanderAutomationPeer.cs (1)
42
peer.
EventsSource
= (!AccessibilitySwitches.UseNetFx472CompatibleAccessibilityFeatures && this.EventsSource != null) ? this.EventsSource : this;
System\Windows\Automation\Peers\FlowDocumentScrollViewerAutomationPeer.cs (2)
46
scrollPeer.
EventsSource
= this;
59
_documentPeer.
EventsSource
= this;
System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (3)
102
expanderPeer.
EventsSource
= this;
130
_expanderPeer.
EventsSource
= this;
248
wrapperPeer.
EventsSource
= peer;
System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (3)
34
scrollPeer.
EventsSource
= this;
184
wrapperPeer.
EventsSource
= peer;
395
wrapperPeer.
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)
44
scrollPeer.
EventsSource
= this;
86
wrapperPeer.
EventsSource
= peer;
System\Windows\Automation\Peers\TreeViewItemAutomationPeer.cs (3)
118
wrapperPeer.
EventsSource
= peer;
183
wrapperPeer.
EventsSource
= peer;
243
EventsSource
= dataPeer;
42 references to EventsSource
PresentationCore (9)
System\Windows\Automation\Peers\AutomationPeer.cs (7)
436
if (peer.
EventsSource
!= null)
438
peer = peer.
EventsSource
;
1668
_eventsSourceOrPeerRecord =
EventsSource
;
1681
PeerRecord record = new PeerRecord { EventsSource =
EventsSource
, IterationParent = value };
1800
if((peer == this) && ((eventsSource =
EventsSource
) != null))
2123
if (
EventsSource
!= null)
2125
EventsSource
.InvalidateAncestorsRecursive();
System\Windows\Automation\Peers\UIElementAutomationPeer.cs (2)
424
peer = peer.
EventsSource
?? peer;
459
peer = peer.
EventsSource
?? peer;
PresentationFramework (20)
System\Windows\Automation\Peers\DataGridRowAutomationPeer.cs (1)
68
DataGridItemAutomationPeer itemPeer = this.
EventsSource
as DataGridItemAutomationPeer;
System\Windows\Automation\Peers\ExpanderAutomationPeer.cs (2)
42
peer.EventsSource = (!AccessibilitySwitches.UseNetFx472CompatibleAccessibilityFeatures && this.
EventsSource
!= null) ? this.
EventsSource
: this;
System\Windows\Automation\Peers\GridViewAutomationPeer.cs (1)
234
AutomationPeer eventSource = peer.
EventsSource
;
System\Windows\Automation\Peers\TreeViewAutomationPeer.cs (2)
162
if(peer.
EventsSource
!= null)
163
peer = peer.
EventsSource
;
System\Windows\Automation\Peers\TreeViewItemAutomationPeer.cs (14)
160
if (
EventsSource
as TreeViewDataItemAutomationPeer != null)
162
parentPeer =
EventsSource
as TreeViewDataItemAutomationPeer;
224
return new TreeViewDataItemAutomationPeer(item, this,
EventsSource
as TreeViewDataItemAutomationPeer);
231
TreeViewDataItemAutomationPeer dataPeer =
EventsSource
as TreeViewDataItemAutomationPeer;
251
if(
EventsSource
as TreeViewDataItemAutomationPeer != null)
253
if((
EventsSource
as TreeViewDataItemAutomationPeer).WeakRefElementProxyStorageCache == null)
254
(
EventsSource
as TreeViewDataItemAutomationPeer).WeakRefElementProxyStorageCache = WeakRefElementProxyStorage;
257
WeakRefElementProxyStorage = (
EventsSource
as TreeViewDataItemAutomationPeer).WeakRefElementProxyStorageCache;
310
if (
EventsSource
as TreeViewDataItemAutomationPeer != null)
312
(
EventsSource
as TreeViewDataItemAutomationPeer).RaiseExpandCollapseAutomationEvent(oldValue, newValue);
392
if (
EventsSource
as TreeViewDataItemAutomationPeer != null)
394
(
EventsSource
as TreeViewDataItemAutomationPeer).RaiseAutomationIsSelectedChanged(isSelected);
406
if (
EventsSource
!= null)
408
EventsSource
.RaiseAutomationEvent(eventId);
System.Windows.Controls.Ribbon (13)
Microsoft\Windows\Automation\Peers\RibbonGalleryAutomationPeer.cs (2)
174
if (peer.
EventsSource
!= null)
175
peer = peer.
EventsSource
;
Microsoft\Windows\Automation\Peers\RibbonGalleryCategoryAutomationPeer.cs (1)
88
return new RibbonGalleryItemDataAutomationPeer(item, this,
EventsSource
as RibbonGalleryCategoryDataAutomationPeer);
Microsoft\Windows\Automation\Peers\RibbonGalleryItemAutomationPeer.cs (4)
103
if (
EventsSource
!= null)
105
EventsSource
.RaisePropertyChangedEvent(
116
if (
EventsSource
!= null)
118
EventsSource
.RaiseAutomationEvent(eventId);
Microsoft\Windows\Automation\Peers\RibbonGroupAutomationPeer.cs (1)
131
AutomationPeer dataPeer =
EventsSource
;
Microsoft\Windows\Automation\Peers\RibbonMenuItemAutomationPeer.cs (2)
99
AutomationPeer dataPeer =
EventsSource
;
113
AutomationPeer dataPeer =
EventsSource
;
Microsoft\Windows\Automation\Peers\RibbonTabAutomationPeer.cs (3)
127
return headerPeer.
EventsSource
as RibbonTabHeaderDataAutomationPeer;
141
AutomationPeer dataPeer =
EventsSource
;
157
AutomationPeer dataPeer =
EventsSource
;