24 writes to EventsSource
PresentationFramework (24)
src\Framework\System\Windows\Automation\Peers\CalendarAutomationPeer.cs (1)
263
wrapperPeer.
EventsSource
= peer;
src\Framework\System\Windows\Automation\Peers\DataGridAutomationPeer.cs (1)
101
scrollPeer.
EventsSource
= this;
src\Framework\System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (1)
846
cellPeer.
EventsSource
= this;
src\Framework\System\Windows\Automation\Peers\DataGridColumnHeadersPresenterAutomationPeer.cs (1)
124
wrapperPeer.
EventsSource
= peer;
src\Framework\System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (1)
516
wrapperPeer.
EventsSource
= peer;
src\Framework\System\Windows\Automation\Peers\DocumentViewerAutomationPeer.cs (1)
59
scrollPeer.
EventsSource
= this;
src\Framework\System\Windows\Automation\Peers\DocumentViewerBaseAutomationPeer.cs (1)
45
_documentPeer.
EventsSource
= this;
src\Framework\System\Windows\Automation\Peers\ExpanderAutomationPeer.cs (1)
50
peer.
EventsSource
= (!AccessibilitySwitches.UseNetFx472CompatibleAccessibilityFeatures && this.EventsSource != null) ? this.EventsSource : this;
src\Framework\System\Windows\Automation\Peers\FlowDocumentScrollViewerAutomationPeer.cs (2)
48
scrollPeer.
EventsSource
= this;
61
_documentPeer.
EventsSource
= this;
src\Framework\System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (3)
110
expanderPeer.
EventsSource
= this;
145
_expanderPeer.
EventsSource
= this;
246
wrapperPeer.
EventsSource
= peer;
src\Framework\System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (3)
43
scrollPeer.
EventsSource
= this;
193
wrapperPeer.
EventsSource
= peer;
410
wrapperPeer.
EventsSource
= peer;
src\Framework\System\Windows\Automation\Peers\PasswordBoxAutomationPeer.cs (1)
87
((AutomationPeer)returnValue).
EventsSource
= this;
src\Framework\System\Windows\Automation\Peers\RichTextBoxAutomationPeer.cs (1)
62
((AutomationPeer)returnValue).
EventsSource
= this;
src\Framework\System\Windows\Automation\Peers\TextBoxAutomationPeer.cs (1)
63
((AutomationPeer)returnValue).
EventsSource
= this;
src\Framework\System\Windows\Automation\Peers\TreeViewAutomationPeer.cs (2)
54
scrollPeer.
EventsSource
= this;
96
wrapperPeer.
EventsSource
= peer;
src\Framework\System\Windows\Automation\Peers\TreeViewItemAutomationPeer.cs (3)
126
wrapperPeer.
EventsSource
= peer;
196
wrapperPeer.
EventsSource
= peer;
256
EventsSource
= dataPeer;
29 references to EventsSource
PresentationCore (9)
Core\CSharp\System\Windows\Automation\Peers\AutomationPeer.cs (7)
448
if (peer.
EventsSource
!= null)
450
peer = peer.
EventsSource
;
1587
_eventsSourceOrPeerRecord =
EventsSource
;
1600
PeerRecord record = new PeerRecord { EventsSource =
EventsSource
, IterationParent = value };
1719
if((peer == this) && ((eventsSource =
EventsSource
) != null))
2046
if (
EventsSource
!= null)
2048
EventsSource
.InvalidateAncestorsRecursive();
Core\CSharp\System\Windows\Automation\Peers\UIElementAutomationPeer.cs (2)
450
peer = peer.
EventsSource
?? peer;
485
peer = peer.
EventsSource
?? peer;
PresentationFramework (20)
src\Framework\System\Windows\Automation\Peers\DataGridRowAutomationPeer.cs (1)
71
DataGridItemAutomationPeer itemPeer = this.
EventsSource
as DataGridItemAutomationPeer;
src\Framework\System\Windows\Automation\Peers\ExpanderAutomationPeer.cs (2)
50
peer.EventsSource = (!AccessibilitySwitches.UseNetFx472CompatibleAccessibilityFeatures && this.
EventsSource
!= null) ? this.
EventsSource
: this;
src\Framework\System\Windows\Automation\Peers\GridViewAutomationPeer.cs (1)
246
AutomationPeer eventSource = peer.
EventsSource
;
src\Framework\System\Windows\Automation\Peers\TreeViewAutomationPeer.cs (2)
172
if(peer.
EventsSource
!= null)
173
peer = peer.
EventsSource
;
src\Framework\System\Windows\Automation\Peers\TreeViewItemAutomationPeer.cs (14)
173
if (
EventsSource
as TreeViewDataItemAutomationPeer != null)
175
parentPeer =
EventsSource
as TreeViewDataItemAutomationPeer;
237
return new TreeViewDataItemAutomationPeer(item, this,
EventsSource
as TreeViewDataItemAutomationPeer);
244
TreeViewDataItemAutomationPeer dataPeer =
EventsSource
as TreeViewDataItemAutomationPeer;
264
if(
EventsSource
as TreeViewDataItemAutomationPeer != null)
266
if((
EventsSource
as TreeViewDataItemAutomationPeer).WeakRefElementProxyStorageCache == null)
267
(
EventsSource
as TreeViewDataItemAutomationPeer).WeakRefElementProxyStorageCache = WeakRefElementProxyStorage;
270
WeakRefElementProxyStorage = (
EventsSource
as TreeViewDataItemAutomationPeer).WeakRefElementProxyStorageCache;
323
if (
EventsSource
as TreeViewDataItemAutomationPeer != null)
325
(
EventsSource
as TreeViewDataItemAutomationPeer).RaiseExpandCollapseAutomationEvent(oldValue, newValue);
405
if (
EventsSource
as TreeViewDataItemAutomationPeer != null)
407
(
EventsSource
as TreeViewDataItemAutomationPeer).RaiseAutomationIsSelectedChanged(isSelected);
419
if (
EventsSource
!= null)
421
EventsSource
.RaiseAutomationEvent(eventId);