24 writes to EventsSource
PresentationFramework (24)
System\Windows\Automation\Peers\CalendarAutomationPeer.cs (1)
249
wrapperPeer.
EventsSource
= peer;
System\Windows\Automation\Peers\DataGridAutomationPeer.cs (1)
97
scrollPeer.
EventsSource
= this;
System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (1)
863
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;
245
wrapperPeer.
EventsSource
= peer;
System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (3)
34
scrollPeer.
EventsSource
= this;
181
wrapperPeer.
EventsSource
= peer;
386
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;
180
wrapperPeer.
EventsSource
= peer;
240
EventsSource
= dataPeer;
39 references to EventsSource
PresentationCore (8)
System\Windows\Automation\Peers\AutomationPeer.cs (6)
438
if (peer.
EventsSource
!= null)
440
peer = peer.
EventsSource
;
1670
_eventsSourceOrPeerRecord =
EventsSource
;
1683
PeerRecord record = new PeerRecord { EventsSource =
EventsSource
, IterationParent = value };
1802
if((peer == this) && ((eventsSource =
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)
231
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;
221
return new TreeViewDataItemAutomationPeer(item, this,
EventsSource
as TreeViewDataItemAutomationPeer);
228
TreeViewDataItemAutomationPeer dataPeer =
EventsSource
as TreeViewDataItemAutomationPeer;
248
if(
EventsSource
as TreeViewDataItemAutomationPeer != null)
250
if((
EventsSource
as TreeViewDataItemAutomationPeer).WeakRefElementProxyStorageCache == null)
251
(
EventsSource
as TreeViewDataItemAutomationPeer).WeakRefElementProxyStorageCache = WeakRefElementProxyStorage;
254
WeakRefElementProxyStorage = (
EventsSource
as TreeViewDataItemAutomationPeer).WeakRefElementProxyStorageCache;
307
if (
EventsSource
as TreeViewDataItemAutomationPeer != null)
309
(
EventsSource
as TreeViewDataItemAutomationPeer).RaiseExpandCollapseAutomationEvent(oldValue, newValue);
389
if (
EventsSource
as TreeViewDataItemAutomationPeer != null)
391
(
EventsSource
as TreeViewDataItemAutomationPeer).RaiseAutomationIsSelectedChanged(isSelected);
403
if (
EventsSource
!= null)
405
EventsSource
.RaiseAutomationEvent(eventId);
System.Windows.Controls.Ribbon (11)
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 (2)
103
EventsSource
?.RaisePropertyChangedEvent(
113
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
;
110
AutomationPeer dataPeer =
EventsSource
;
Microsoft\Windows\Automation\Peers\RibbonTabAutomationPeer.cs (3)
127
return headerPeer.
EventsSource
as RibbonTabHeaderDataAutomationPeer;
141
AutomationPeer dataPeer =
EventsSource
;
154
AutomationPeer dataPeer =
EventsSource
;