2 instantiations of TreeViewDataItemAutomationPeer
PresentationFramework (2)
src\Framework\System\Windows\Automation\Peers\TreeViewAutomationPeer.cs (1)
117
return new
TreeViewDataItemAutomationPeer
(item, this, null);
src\Framework\System\Windows\Automation\Peers\TreeViewItemAutomationPeer.cs (1)
237
return new
TreeViewDataItemAutomationPeer
(item, this, EventsSource as TreeViewDataItemAutomationPeer);
17 references to TreeViewDataItemAutomationPeer
PresentationFramework (17)
src\Framework\System\Windows\Automation\Peers\TreeViewDataItemAutomationPeer.cs (3)
37
public TreeViewDataItemAutomationPeer(object item, ItemsControlAutomationPeer itemsControlAutomationPeer,
TreeViewDataItemAutomationPeer
parentDataItemAutomationPeer)
105
public
TreeViewDataItemAutomationPeer
ParentDataItemAutomationPeer
351
private
TreeViewDataItemAutomationPeer
_parentDataItemAutomationPeer;
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
;
254
internal void AddDataPeerInfo(
TreeViewDataItemAutomationPeer
dataPeer)
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);