60 references to CreatePeerForElement
PresentationCore (4)
Core\CSharp\System\Windows\Automation\Peers\AutomationPeer.cs (1)
423
peer = UIElementAutomationPeer.
CreatePeerForElement
(uie);
Core\CSharp\System\Windows\Automation\Peers\UIElement3DAutomationPeer.cs (1)
108
&& (peer = UIElementAutomationPeer.
CreatePeerForElement
((UIElement)child)) != null )
Core\CSharp\System\Windows\Automation\Peers\UIElementAutomationPeer.cs (1)
132
&& (peer =
CreatePeerForElement
((UIElement)child)) != null )
Core\CSharp\System\Windows\Interop\HwndTarget.cs (1)
1539
peer = UIElementAutomationPeer.
CreatePeerForElement
(uiroot);
PresentationFramework (56)
src\Framework\MS\Internal\Documents\TextContainerHelper.cs (4)
358
peer = UIElementAutomationPeer.
CreatePeerForElement
((UIElement)element);
417
peer = UIElementAutomationPeer.
CreatePeerForElement
((UIElement)element);
488
peer = UIElementAutomationPeer.
CreatePeerForElement
((UIElement)element);
748
&& (peer = UIElementAutomationPeer.
CreatePeerForElement
((UIElement)child)) != null)
src\Framework\System\Windows\Automation\Peers\CalendarAutomationPeer.cs (5)
122
buttonPeer = FrameworkElementAutomationPeer.
CreatePeerForElement
(OwningCalendar.MonthControl.PreviousButton);
127
buttonPeer = FrameworkElementAutomationPeer.
CreatePeerForElement
(OwningCalendar.MonthControl.HeaderButton);
132
buttonPeer = FrameworkElementAutomationPeer.
CreatePeerForElement
(OwningCalendar.MonthControl.NextButton);
147
AutomationPeer dayTitlePeer = UIElementAutomationPeer.
CreatePeerForElement
(child);
642
AutomationPeer peer =
CreatePeerForElement
(child);
src\Framework\System\Windows\Automation\Peers\ComboBoxAutomationPeer.cs (1)
79
AutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(textBox);
src\Framework\System\Windows\Automation\Peers\DataGridAutomationPeer.cs (2)
55
AutomationPeer columnsHeaderPresenterPeer = FrameworkElementAutomationPeer.
CreatePeerForElement
(columnsHeaderPresenter);
97
AutomationPeer scrollPeer = UIElementAutomationPeer.
CreatePeerForElement
(scrollViewer);
src\Framework\System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (5)
545
DataGridColumnHeadersPresenterAutomationPeer columnHeadersPresenterPeer = UIElementAutomationPeer.
CreatePeerForElement
(this.OwningDataGrid.ColumnHeadersPresenter) as DataGridColumnHeadersPresenterAutomationPeer;
566
DataGridAutomationPeer dataGridAutomationPeer = UIElementAutomationPeer.
CreatePeerForElement
(this.OwningDataGrid) as DataGridAutomationPeer;
845
cellPeer = FrameworkElementAutomationPeer.
CreatePeerForElement
(cell) as DataGridCellAutomationPeer;
857
AutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(OwningDataGrid);
886
DataGridAutomationPeer dataGridPeer = FrameworkElementAutomationPeer.
CreatePeerForElement
(OwningDataGrid) as DataGridAutomationPeer;
src\Framework\System\Windows\Automation\Peers\DataGridRowAutomationPeer.cs (2)
104
return
CreatePeerForElement
(dataGridRowHeader);
118
return
CreatePeerForElement
(dataGridDetailsPresenter);
src\Framework\System\Windows\Automation\Peers\DatePickerAutomationPeer.cs (1)
98
CalendarAutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(OwningDatePicker.Calendar) as CalendarAutomationPeer;
src\Framework\System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (4)
99
AutomationPeer peer = FrameworkElementAutomationPeer.
CreatePeerForElement
(this.OwningCalendar);
138
return FrameworkElementAutomationPeer.
CreatePeerForElement
(owningButton) as FrameworkElementAutomationPeer;
824
IRawElementProviderSimple[] headers = ((ITableProvider)FrameworkElementAutomationPeer.
CreatePeerForElement
(this.OwningCalendar)).GetColumnHeaders();
890
CalendarAutomationPeer owningCalendarPeer = FrameworkElementAutomationPeer.
CreatePeerForElement
(OwningCalendar) as CalendarAutomationPeer;
src\Framework\System\Windows\Automation\Peers\DocumentViewerAutomationPeer.cs (1)
56
AutomationPeer scrollPeer = UIElementAutomationPeer.
CreatePeerForElement
(owner.ScrollViewer);
src\Framework\System\Windows\Automation\Peers\DocumentViewerBaseAutomationPeer.cs (1)
120
documentPeer = UIElementAutomationPeer.
CreatePeerForElement
((UIElement)document);
src\Framework\System\Windows\Automation\Peers\FlowDocumentScrollViewerAutomationPeer.cs (1)
45
AutomationPeer scrollPeer = UIElementAutomationPeer.
CreatePeerForElement
(owner.ScrollViewer);
src\Framework\System\Windows\Automation\Peers\GridViewAutomationPeer.cs (2)
78
AutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(_owner.HeaderRowPresenter);
148
AutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(e);
src\Framework\System\Windows\Automation\Peers\GridViewCellAutomationPeer.cs (1)
180
&& (peer =
CreatePeerForElement
((UIElement)child)) != null)
src\Framework\System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (2)
107
AutomationPeer expanderPeer = UIElementAutomationPeer.
CreatePeerForElement
(groupItem.Expander);
141
_expanderPeer = UIElementAutomationPeer.
CreatePeerForElement
(owner.Expander);
src\Framework\System\Windows\Automation\Peers\ItemAutomationPeer.cs (1)
117
wrapperPeer = UIElementAutomationPeer.
CreatePeerForElement
(wrapper);
src\Framework\System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (2)
40
AutomationPeer scrollPeer = UIElementAutomationPeer.
CreatePeerForElement
(owner.ScrollHost);
803
return UIElementAutomationPeer.
CreatePeerForElement
((UIElement)_container);
src\Framework\System\Windows\Automation\Peers\MenuItemAutomationPeer.cs (1)
168
peer = UIElementAutomationPeer.
CreatePeerForElement
(uiElement);
src\Framework\System\Windows\Automation\Peers\StatusBarAutomationPeer.cs (3)
51
list.Add(UIElementAutomationPeer.
CreatePeerForElement
(separator));
65
list.Add(UIElementAutomationPeer.
CreatePeerForElement
(item));
124
&& (peer =
CreatePeerForElement
((UIElement)child)) != null)
src\Framework\System\Windows\Automation\Peers\TreeViewAutomationPeer.cs (1)
51
AutomationPeer scrollPeer = UIElementAutomationPeer.
CreatePeerForElement
(owner.ScrollHost);
src\Framework\System\Windows\Automation\Peers\TreeViewItemAutomationPeer.cs (1)
138
peer =
CreatePeerForElement
((UIElement)child);
src\Framework\System\Windows\Controls\Button.cs (1)
258
AutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(this);
src\Framework\System\Windows\Controls\ComboBox.cs (1)
585
ComboBoxAutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(this) as ComboBoxAutomationPeer;
src\Framework\System\Windows\Controls\GridViewColumnHeader.cs (1)
848
AutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(this);
src\Framework\System\Windows\Controls\ListBox.cs (1)
301
ListBoxAutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(this) as ListBoxAutomationPeer;
src\Framework\System\Windows\Controls\MenuItem.cs (1)
1398
AutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(this);
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeader.cs (1)
766
AutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(this);
src\Framework\System\Windows\Controls\Primitives\MenuBase.cs (1)
314
AutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(this);
src\Framework\System\Windows\Controls\Primitives\Popup.cs (1)
3614
PopupRootAutomationPeer popupRootAutomationPeer = UIElementAutomationPeer.
CreatePeerForElement
(popupRoot) as PopupRootAutomationPeer;
src\Framework\System\Windows\Controls\Primitives\RepeatButton.cs (1)
210
AutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(this);
src\Framework\System\Windows\Controls\TabControl.cs (1)
386
TabControlAutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(this) as TabControlAutomationPeer;
src\Framework\System\Windows\Controls\ToolTip.cs (2)
192
AutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(t);
551
AutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(this);
src\Framework\System\Windows\Controls\TreeView.cs (2)
255
TreeViewItemAutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(_selectedContainer) as TreeViewItemAutomationPeer;
263
TreeViewItemAutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(oldContainer) as TreeViewItemAutomationPeer;
src\Framework\System\Windows\Interop\HwndHost.cs (1)
776
AutomationPeer containerPeer = UIElementAutomationPeer.
CreatePeerForElement
(this);