82 references to CreatePeerForElement
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
InlineRename\UI\Dashboard\RenameDashboard.xaml.cs (1)
125
UIElementAutomationPeer.
CreatePeerForElement
(this)?.RaiseAutomationEvent(AutomationEvents.AutomationFocusChanged);
PresentationCore (4)
System\Windows\Automation\Peers\AutomationPeer.cs (1)
411
peer = UIElementAutomationPeer.
CreatePeerForElement
(uie);
System\Windows\Automation\Peers\UIElement3DAutomationPeer.cs (1)
94
&& (peer = UIElementAutomationPeer.
CreatePeerForElement
((UIElement)child)) != null )
System\Windows\Automation\Peers\UIElementAutomationPeer.cs (1)
112
&& (peer =
CreatePeerForElement
((UIElement)child)) != null )
System\Windows\InterOp\HwndTarget.cs (1)
1413
peer = UIElementAutomationPeer.
CreatePeerForElement
(uiroot);
PresentationFramework (56)
MS\Internal\Documents\TextContainerHelper.cs (4)
350
peer = UIElementAutomationPeer.
CreatePeerForElement
((UIElement)element);
409
peer = UIElementAutomationPeer.
CreatePeerForElement
((UIElement)element);
480
peer = UIElementAutomationPeer.
CreatePeerForElement
((UIElement)element);
740
&& (peer = UIElementAutomationPeer.
CreatePeerForElement
((UIElement)child)) != null)
System\Windows\Automation\Peers\CalendarAutomationPeer.cs (5)
115
buttonPeer = FrameworkElementAutomationPeer.
CreatePeerForElement
(OwningCalendar.MonthControl.PreviousButton);
120
buttonPeer = FrameworkElementAutomationPeer.
CreatePeerForElement
(OwningCalendar.MonthControl.HeaderButton);
125
buttonPeer = FrameworkElementAutomationPeer.
CreatePeerForElement
(OwningCalendar.MonthControl.NextButton);
140
AutomationPeer dayTitlePeer = UIElementAutomationPeer.
CreatePeerForElement
(child);
626
AutomationPeer peer =
CreatePeerForElement
(child);
System\Windows\Automation\Peers\ComboBoxAutomationPeer.cs (1)
74
AutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(textBox);
System\Windows\Automation\Peers\DataGridAutomationPeer.cs (2)
51
AutomationPeer columnsHeaderPresenterPeer = FrameworkElementAutomationPeer.
CreatePeerForElement
(columnsHeaderPresenter);
93
AutomationPeer scrollPeer = UIElementAutomationPeer.
CreatePeerForElement
(scrollViewer);
System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (5)
565
DataGridColumnHeadersPresenterAutomationPeer columnHeadersPresenterPeer = UIElementAutomationPeer.
CreatePeerForElement
(this.OwningDataGrid.ColumnHeadersPresenter) as DataGridColumnHeadersPresenterAutomationPeer;
586
DataGridAutomationPeer dataGridAutomationPeer = UIElementAutomationPeer.
CreatePeerForElement
(this.OwningDataGrid) as DataGridAutomationPeer;
865
cellPeer = FrameworkElementAutomationPeer.
CreatePeerForElement
(cell) as DataGridCellAutomationPeer;
877
AutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(OwningDataGrid);
906
DataGridAutomationPeer dataGridPeer = FrameworkElementAutomationPeer.
CreatePeerForElement
(OwningDataGrid) as DataGridAutomationPeer;
System\Windows\Automation\Peers\DataGridRowAutomationPeer.cs (2)
101
return
CreatePeerForElement
(dataGridRowHeader);
115
return
CreatePeerForElement
(dataGridDetailsPresenter);
System\Windows\Automation\Peers\DatePickerAutomationPeer.cs (1)
94
CalendarAutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(OwningDatePicker.Calendar) as CalendarAutomationPeer;
System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (4)
84
AutomationPeer peer = FrameworkElementAutomationPeer.
CreatePeerForElement
(this.OwningCalendar);
123
return FrameworkElementAutomationPeer.
CreatePeerForElement
(owningButton) as FrameworkElementAutomationPeer;
841
IRawElementProviderSimple[] headers = ((ITableProvider)FrameworkElementAutomationPeer.
CreatePeerForElement
(this.OwningCalendar)).GetColumnHeaders();
907
CalendarAutomationPeer owningCalendarPeer = FrameworkElementAutomationPeer.
CreatePeerForElement
(OwningCalendar) as CalendarAutomationPeer;
System\Windows\Automation\Peers\DocumentViewerAutomationPeer.cs (1)
47
AutomationPeer scrollPeer = UIElementAutomationPeer.
CreatePeerForElement
(owner.ScrollViewer);
System\Windows\Automation\Peers\DocumentViewerBaseAutomationPeer.cs (1)
117
documentPeer = UIElementAutomationPeer.
CreatePeerForElement
((UIElement)document);
System\Windows\Automation\Peers\FlowDocumentScrollViewerAutomationPeer.cs (1)
43
AutomationPeer scrollPeer = UIElementAutomationPeer.
CreatePeerForElement
(owner.ScrollViewer);
System\Windows\Automation\Peers\GridViewAutomationPeer.cs (2)
70
AutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(_owner.HeaderRowPresenter);
140
AutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(e);
System\Windows\Automation\Peers\GridViewCellAutomationPeer.cs (1)
172
&& (peer =
CreatePeerForElement
((UIElement)child)) != null)
System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (2)
99
AutomationPeer expanderPeer = UIElementAutomationPeer.
CreatePeerForElement
(groupItem.Expander);
126
_expanderPeer = UIElementAutomationPeer.
CreatePeerForElement
(owner.Expander);
System\Windows\Automation\Peers\ItemAutomationPeer.cs (1)
110
wrapperPeer = UIElementAutomationPeer.
CreatePeerForElement
(wrapper);
System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (2)
31
AutomationPeer scrollPeer = UIElementAutomationPeer.
CreatePeerForElement
(owner.ScrollHost);
785
return UIElementAutomationPeer.
CreatePeerForElement
((UIElement)_container);
System\Windows\Automation\Peers\MenuItemAutomationPeer.cs (1)
180
peer = UIElementAutomationPeer.
CreatePeerForElement
(uiElement);
System\Windows\Automation\Peers\StatusBarAutomationPeer.cs (3)
44
list.Add(UIElementAutomationPeer.
CreatePeerForElement
(separator));
58
list.Add(UIElementAutomationPeer.
CreatePeerForElement
(item));
117
&& (peer =
CreatePeerForElement
((UIElement)child)) != null)
System\Windows\Automation\Peers\TreeViewAutomationPeer.cs (1)
41
AutomationPeer scrollPeer = UIElementAutomationPeer.
CreatePeerForElement
(owner.ScrollHost);
System\Windows\Automation\Peers\TreeViewItemAutomationPeer.cs (1)
130
peer =
CreatePeerForElement
((UIElement)child);
System\Windows\Controls\Button.cs (1)
252
AutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(this);
System\Windows\Controls\ComboBox.cs (1)
574
ComboBoxAutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(this) as ComboBoxAutomationPeer;
System\Windows\Controls\GridViewColumnHeader.cs (1)
811
AutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(this);
System\Windows\Controls\ListBox.cs (1)
297
ListBoxAutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(this) as ListBoxAutomationPeer;
System\Windows\Controls\MenuItem.cs (1)
1385
AutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(this);
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (1)
760
AutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(this);
System\Windows\Controls\Primitives\MenuBase.cs (1)
303
AutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(this);
System\Windows\Controls\Primitives\Popup.cs (1)
3431
PopupRootAutomationPeer popupRootAutomationPeer = UIElementAutomationPeer.
CreatePeerForElement
(popupRoot) as PopupRootAutomationPeer;
System\Windows\Controls\Primitives\RepeatButton.cs (1)
201
AutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(this);
System\Windows\Controls\TabControl.cs (1)
375
TabControlAutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(this) as TabControlAutomationPeer;
System\Windows\Controls\ToolTip.cs (2)
169
AutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(t);
545
AutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(this);
System\Windows\Controls\TreeView.cs (2)
249
TreeViewItemAutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(_selectedContainer) as TreeViewItemAutomationPeer;
257
TreeViewItemAutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(oldContainer) as TreeViewItemAutomationPeer;
System\Windows\Interop\HwndHost.cs (1)
634
AutomationPeer containerPeer = UIElementAutomationPeer.
CreatePeerForElement
(this);
System.Windows.Controls.Ribbon (20)
Microsoft\Windows\Automation\Peers\RibbonAutomationPeer.cs (7)
66
AutomationPeer tabHeadersItemsControlPeer = UIElementAutomationPeer.
CreatePeerForElement
(tabHeadersItemsControl);
89
AutomationPeer peer =
CreatePeerForElement
(OwningRibbon.QuickAccessToolBar);
98
AutomationPeer peer =
CreatePeerForElement
(OwningRibbon.TitleHost);
112
AutomationPeer peer =
CreatePeerForElement
(OwningRibbon.ContextualTabGroupItemsControl);
122
AutomationPeer peer =
CreatePeerForElement
(OwningRibbon.ApplicationMenu);
135
AutomationPeer peer =
CreatePeerForElement
(OwningRibbon.RibbonTabHeaderItemsControl);
206
AutomationPeer peer =
CreatePeerForElement
(helpPaneHost);
Microsoft\Windows\Automation\Peers\RibbonComboBoxAutomationPeer.cs (1)
62
AutomationPeer peer =
CreatePeerForElement
(owner.EditableTextBoxSite);
Microsoft\Windows\Automation\Peers\RibbonContextualTabGroupAutomationPeer.cs (1)
46
AutomationPeer peer =
CreatePeerForElement
(headerElement);
Microsoft\Windows\Automation\Peers\RibbonMenuButtonAutomationPeer.cs (2)
52
AutomationPeer peer =
CreatePeerForElement
(owner.PartToggleButton);
104
AutomationPeer buttonPeer = UIElementAutomationPeer.
CreatePeerForElement
(owner.PartToggleButton);
Microsoft\Windows\Automation\Peers\RibbonQuickAccessToolBarAutomationPeer.cs (1)
51
children.Add(
CreatePeerForElement
(customizeMenuButton));
Microsoft\Windows\Automation\Peers\RibbonSplitButtonAutomationPeer.cs (2)
80
ToggleButtonAutomationPeer headerButtonAutomationPeer =
CreatePeerForElement
(OwningSplitButton.HeaderButton) as ToggleButtonAutomationPeer;
113
ButtonAutomationPeer headerButtonAutomationPeer =
CreatePeerForElement
(OwningSplitButton.HeaderButton) as ButtonAutomationPeer;
Microsoft\Windows\Automation\Peers\RibbonTabAutomationPeer.cs (1)
124
AutomationPeer headerPeer =
CreatePeerForElement
(OwningTab.RibbonTabHeader);
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (1)
1281
RibbonTabAutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(selectedTab) as RibbonTabAutomationPeer;
Microsoft\Windows\Controls\Ribbon\RibbonGalleryItem.cs (2)
109
RibbonGalleryItemAutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(this) as RibbonGalleryItemAutomationPeer;
147
RibbonGalleryItemAutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(this) as RibbonGalleryItemAutomationPeer;
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
2850
AutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(element);
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (1)
730
RibbonTabAutomationPeer peer = RibbonTabAutomationPeer.
CreatePeerForElement
(ribbonTab) as RibbonTabAutomationPeer;
WindowsFormsIntegration (1)
System\Windows\Integration\WindowsFormsHost.cs (1)
144
WindowsFormsHostAutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(this) as WindowsFormsHostAutomationPeer;