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)
424
peer = UIElementAutomationPeer.
CreatePeerForElement
(uie);
System\Windows\Automation\Peers\UIElement3DAutomationPeer.cs (1)
102
&& (peer = UIElementAutomationPeer.
CreatePeerForElement
((UIElement)child)) != null )
System\Windows\Automation\Peers\UIElementAutomationPeer.cs (1)
121
&& (peer =
CreatePeerForElement
((UIElement)child)) != null )
System\Windows\InterOp\HwndTarget.cs (1)
1426
peer = UIElementAutomationPeer.
CreatePeerForElement
(uiroot);
PresentationFramework (56)
MS\Internal\Documents\TextContainerHelper.cs (4)
353
peer = UIElementAutomationPeer.
CreatePeerForElement
((UIElement)element);
412
peer = UIElementAutomationPeer.
CreatePeerForElement
((UIElement)element);
483
peer = UIElementAutomationPeer.
CreatePeerForElement
((UIElement)element);
743
&& (peer = UIElementAutomationPeer.
CreatePeerForElement
((UIElement)child)) != null)
System\Windows\Automation\Peers\CalendarAutomationPeer.cs (5)
121
buttonPeer = FrameworkElementAutomationPeer.
CreatePeerForElement
(OwningCalendar.MonthControl.PreviousButton);
126
buttonPeer = FrameworkElementAutomationPeer.
CreatePeerForElement
(OwningCalendar.MonthControl.HeaderButton);
131
buttonPeer = FrameworkElementAutomationPeer.
CreatePeerForElement
(OwningCalendar.MonthControl.NextButton);
146
AutomationPeer dayTitlePeer = UIElementAutomationPeer.
CreatePeerForElement
(child);
632
AutomationPeer peer =
CreatePeerForElement
(child);
System\Windows\Automation\Peers\ComboBoxAutomationPeer.cs (1)
86
AutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(textBox);
System\Windows\Automation\Peers\DataGridAutomationPeer.cs (2)
56
AutomationPeer columnsHeaderPresenterPeer = FrameworkElementAutomationPeer.
CreatePeerForElement
(columnsHeaderPresenter);
98
AutomationPeer scrollPeer = UIElementAutomationPeer.
CreatePeerForElement
(scrollViewer);
System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (5)
571
DataGridColumnHeadersPresenterAutomationPeer columnHeadersPresenterPeer = UIElementAutomationPeer.
CreatePeerForElement
(this.OwningDataGrid.ColumnHeadersPresenter) as DataGridColumnHeadersPresenterAutomationPeer;
592
DataGridAutomationPeer dataGridAutomationPeer = UIElementAutomationPeer.
CreatePeerForElement
(this.OwningDataGrid) as DataGridAutomationPeer;
871
cellPeer = FrameworkElementAutomationPeer.
CreatePeerForElement
(cell) as DataGridCellAutomationPeer;
883
AutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(OwningDataGrid);
912
DataGridAutomationPeer dataGridPeer = FrameworkElementAutomationPeer.
CreatePeerForElement
(OwningDataGrid) as DataGridAutomationPeer;
System\Windows\Automation\Peers\DataGridRowAutomationPeer.cs (2)
105
return
CreatePeerForElement
(dataGridRowHeader);
119
return
CreatePeerForElement
(dataGridDetailsPresenter);
System\Windows\Automation\Peers\DatePickerAutomationPeer.cs (1)
96
CalendarAutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(OwningDatePicker.Calendar) as CalendarAutomationPeer;
System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (4)
91
AutomationPeer peer = FrameworkElementAutomationPeer.
CreatePeerForElement
(this.OwningCalendar);
130
return FrameworkElementAutomationPeer.
CreatePeerForElement
(owningButton) as FrameworkElementAutomationPeer;
848
IRawElementProviderSimple[] headers = ((ITableProvider)FrameworkElementAutomationPeer.
CreatePeerForElement
(this.OwningCalendar)).GetColumnHeaders();
914
CalendarAutomationPeer owningCalendarPeer = FrameworkElementAutomationPeer.
CreatePeerForElement
(OwningCalendar) as CalendarAutomationPeer;
System\Windows\Automation\Peers\DocumentViewerAutomationPeer.cs (1)
59
AutomationPeer scrollPeer = UIElementAutomationPeer.
CreatePeerForElement
(owner.ScrollViewer);
System\Windows\Automation\Peers\DocumentViewerBaseAutomationPeer.cs (1)
118
documentPeer = UIElementAutomationPeer.
CreatePeerForElement
((UIElement)document);
System\Windows\Automation\Peers\FlowDocumentScrollViewerAutomationPeer.cs (1)
44
AutomationPeer scrollPeer = UIElementAutomationPeer.
CreatePeerForElement
(owner.ScrollViewer);
System\Windows\Automation\Peers\GridViewAutomationPeer.cs (2)
82
AutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(_owner.HeaderRowPresenter);
152
AutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(e);
System\Windows\Automation\Peers\GridViewCellAutomationPeer.cs (1)
183
&& (peer =
CreatePeerForElement
((UIElement)child)) != null)
System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (2)
111
AutomationPeer expanderPeer = UIElementAutomationPeer.
CreatePeerForElement
(groupItem.Expander);
138
_expanderPeer = UIElementAutomationPeer.
CreatePeerForElement
(owner.Expander);
System\Windows\Automation\Peers\ItemAutomationPeer.cs (1)
120
wrapperPeer = UIElementAutomationPeer.
CreatePeerForElement
(wrapper);
System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (2)
43
AutomationPeer scrollPeer = UIElementAutomationPeer.
CreatePeerForElement
(owner.ScrollHost);
797
return UIElementAutomationPeer.
CreatePeerForElement
((UIElement)_container);
System\Windows\Automation\Peers\MenuItemAutomationPeer.cs (1)
193
peer = UIElementAutomationPeer.
CreatePeerForElement
(uiElement);
System\Windows\Automation\Peers\StatusBarAutomationPeer.cs (3)
54
list.Add(UIElementAutomationPeer.
CreatePeerForElement
(separator));
68
list.Add(UIElementAutomationPeer.
CreatePeerForElement
(item));
127
&& (peer =
CreatePeerForElement
((UIElement)child)) != null)
System\Windows\Automation\Peers\TreeViewAutomationPeer.cs (1)
54
AutomationPeer scrollPeer = UIElementAutomationPeer.
CreatePeerForElement
(owner.ScrollHost);
System\Windows\Automation\Peers\TreeViewItemAutomationPeer.cs (1)
142
peer =
CreatePeerForElement
((UIElement)child);
System\Windows\Controls\Button.cs (1)
261
AutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(this);
System\Windows\Controls\ComboBox.cs (1)
584
ComboBoxAutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(this) as ComboBoxAutomationPeer;
System\Windows\Controls\GridViewColumnHeader.cs (1)
815
AutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(this);
System\Windows\Controls\ListBox.cs (1)
303
ListBoxAutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(this) as ListBoxAutomationPeer;
System\Windows\Controls\MenuItem.cs (1)
1395
AutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(this);
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (1)
765
AutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(this);
System\Windows\Controls\Primitives\MenuBase.cs (1)
312
AutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(this);
System\Windows\Controls\Primitives\Popup.cs (1)
3438
PopupRootAutomationPeer popupRootAutomationPeer = UIElementAutomationPeer.
CreatePeerForElement
(popupRoot) as PopupRootAutomationPeer;
System\Windows\Controls\Primitives\RepeatButton.cs (1)
210
AutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(this);
System\Windows\Controls\TabControl.cs (1)
385
TabControlAutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(this) as TabControlAutomationPeer;
System\Windows\Controls\ToolTip.cs (2)
182
AutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(t);
558
AutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(this);
System\Windows\Controls\TreeView.cs (2)
254
TreeViewItemAutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(_selectedContainer) as TreeViewItemAutomationPeer;
262
TreeViewItemAutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(oldContainer) as TreeViewItemAutomationPeer;
System\Windows\Interop\HwndHost.cs (1)
636
AutomationPeer containerPeer = UIElementAutomationPeer.
CreatePeerForElement
(this);
System.Windows.Controls.Ribbon (20)
Microsoft\Windows\Automation\Peers\RibbonAutomationPeer.cs (7)
71
AutomationPeer tabHeadersItemsControlPeer = UIElementAutomationPeer.
CreatePeerForElement
(tabHeadersItemsControl);
94
AutomationPeer peer =
CreatePeerForElement
(OwningRibbon.QuickAccessToolBar);
103
AutomationPeer peer =
CreatePeerForElement
(OwningRibbon.TitleHost);
117
AutomationPeer peer =
CreatePeerForElement
(OwningRibbon.ContextualTabGroupItemsControl);
127
AutomationPeer peer =
CreatePeerForElement
(OwningRibbon.ApplicationMenu);
140
AutomationPeer peer =
CreatePeerForElement
(OwningRibbon.RibbonTabHeaderItemsControl);
211
AutomationPeer peer =
CreatePeerForElement
(helpPaneHost);
Microsoft\Windows\Automation\Peers\RibbonComboBoxAutomationPeer.cs (1)
65
AutomationPeer peer =
CreatePeerForElement
(owner.EditableTextBoxSite);
Microsoft\Windows\Automation\Peers\RibbonContextualTabGroupAutomationPeer.cs (1)
49
AutomationPeer peer =
CreatePeerForElement
(headerElement);
Microsoft\Windows\Automation\Peers\RibbonMenuButtonAutomationPeer.cs (2)
55
AutomationPeer peer =
CreatePeerForElement
(owner.PartToggleButton);
107
AutomationPeer buttonPeer = UIElementAutomationPeer.
CreatePeerForElement
(owner.PartToggleButton);
Microsoft\Windows\Automation\Peers\RibbonQuickAccessToolBarAutomationPeer.cs (1)
55
children.Add(
CreatePeerForElement
(customizeMenuButton));
Microsoft\Windows\Automation\Peers\RibbonSplitButtonAutomationPeer.cs (2)
83
ToggleButtonAutomationPeer headerButtonAutomationPeer =
CreatePeerForElement
(OwningSplitButton.HeaderButton) as ToggleButtonAutomationPeer;
116
ButtonAutomationPeer headerButtonAutomationPeer =
CreatePeerForElement
(OwningSplitButton.HeaderButton) as ButtonAutomationPeer;
Microsoft\Windows\Automation\Peers\RibbonTabAutomationPeer.cs (1)
127
AutomationPeer headerPeer =
CreatePeerForElement
(OwningTab.RibbonTabHeader);
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (1)
1284
RibbonTabAutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(selectedTab) as RibbonTabAutomationPeer;
Microsoft\Windows\Controls\Ribbon\RibbonGalleryItem.cs (2)
111
RibbonGalleryItemAutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(this) as RibbonGalleryItemAutomationPeer;
149
RibbonGalleryItemAutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(this) as RibbonGalleryItemAutomationPeer;
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
2855
AutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(element);
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (1)
732
RibbonTabAutomationPeer peer = RibbonTabAutomationPeer.
CreatePeerForElement
(ribbonTab) as RibbonTabAutomationPeer;
WindowsFormsIntegration (1)
System\Windows\Integration\WindowsFormsHost.cs (1)
146
WindowsFormsHostAutomationPeer peer = UIElementAutomationPeer.
CreatePeerForElement
(this) as WindowsFormsHostAutomationPeer;