82 references to CreatePeerForElement
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
InlineRename\UI\Dashboard\RenameDashboard.xaml.cs (1)
125UIElementAutomationPeer.CreatePeerForElement(this)?.RaiseAutomationEvent(AutomationEvents.AutomationFocusChanged);
PresentationCore (4)
System\Windows\Automation\Peers\AutomationPeer.cs (1)
412peer = UIElementAutomationPeer.CreatePeerForElement(uie);
System\Windows\Automation\Peers\UIElement3DAutomationPeer.cs (1)
93&& (peer = UIElementAutomationPeer.CreatePeerForElement((UIElement)child)) != null )
System\Windows\Automation\Peers\UIElementAutomationPeer.cs (1)
111&& (peer = CreatePeerForElement((UIElement)child)) != null )
System\Windows\InterOp\HwndTarget.cs (1)
1410peer = UIElementAutomationPeer.CreatePeerForElement(uiroot);
PresentationFramework (56)
MS\Internal\Documents\TextContainerHelper.cs (4)
349peer = UIElementAutomationPeer.CreatePeerForElement((UIElement)element); 408peer = UIElementAutomationPeer.CreatePeerForElement((UIElement)element); 479peer = UIElementAutomationPeer.CreatePeerForElement((UIElement)element); 737&& (peer = UIElementAutomationPeer.CreatePeerForElement((UIElement)child)) != null)
System\Windows\Automation\Peers\CalendarAutomationPeer.cs (5)
114buttonPeer = FrameworkElementAutomationPeer.CreatePeerForElement(OwningCalendar.MonthControl.PreviousButton); 119buttonPeer = FrameworkElementAutomationPeer.CreatePeerForElement(OwningCalendar.MonthControl.HeaderButton); 124buttonPeer = FrameworkElementAutomationPeer.CreatePeerForElement(OwningCalendar.MonthControl.NextButton); 139AutomationPeer dayTitlePeer = UIElementAutomationPeer.CreatePeerForElement(child); 614AutomationPeer peer = CreatePeerForElement(child);
System\Windows\Automation\Peers\ComboBoxAutomationPeer.cs (1)
73AutomationPeer peer = UIElementAutomationPeer.CreatePeerForElement(textBox);
System\Windows\Automation\Peers\DataGridAutomationPeer.cs (2)
50AutomationPeer columnsHeaderPresenterPeer = FrameworkElementAutomationPeer.CreatePeerForElement(columnsHeaderPresenter); 92AutomationPeer scrollPeer = UIElementAutomationPeer.CreatePeerForElement(scrollViewer);
System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (5)
561DataGridColumnHeadersPresenterAutomationPeer columnHeadersPresenterPeer = UIElementAutomationPeer.CreatePeerForElement(this.OwningDataGrid.ColumnHeadersPresenter) as DataGridColumnHeadersPresenterAutomationPeer; 582DataGridAutomationPeer dataGridAutomationPeer = UIElementAutomationPeer.CreatePeerForElement(this.OwningDataGrid) as DataGridAutomationPeer; 861cellPeer = FrameworkElementAutomationPeer.CreatePeerForElement(cell) as DataGridCellAutomationPeer; 873AutomationPeer peer = UIElementAutomationPeer.CreatePeerForElement(OwningDataGrid); 902DataGridAutomationPeer dataGridPeer = FrameworkElementAutomationPeer.CreatePeerForElement(OwningDataGrid) as DataGridAutomationPeer;
System\Windows\Automation\Peers\DataGridRowAutomationPeer.cs (2)
100return CreatePeerForElement(dataGridRowHeader); 114return CreatePeerForElement(dataGridDetailsPresenter);
System\Windows\Automation\Peers\DatePickerAutomationPeer.cs (1)
93CalendarAutomationPeer peer = UIElementAutomationPeer.CreatePeerForElement(OwningDatePicker.Calendar) as CalendarAutomationPeer;
System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (4)
83AutomationPeer peer = FrameworkElementAutomationPeer.CreatePeerForElement(this.OwningCalendar); 122return FrameworkElementAutomationPeer.CreatePeerForElement(owningButton) as FrameworkElementAutomationPeer; 840IRawElementProviderSimple[] headers = ((ITableProvider)FrameworkElementAutomationPeer.CreatePeerForElement(this.OwningCalendar)).GetColumnHeaders(); 906CalendarAutomationPeer owningCalendarPeer = FrameworkElementAutomationPeer.CreatePeerForElement(OwningCalendar) as CalendarAutomationPeer;
System\Windows\Automation\Peers\DocumentViewerAutomationPeer.cs (1)
46AutomationPeer scrollPeer = UIElementAutomationPeer.CreatePeerForElement(owner.ScrollViewer);
System\Windows\Automation\Peers\DocumentViewerBaseAutomationPeer.cs (1)
113documentPeer = UIElementAutomationPeer.CreatePeerForElement((UIElement)document);
System\Windows\Automation\Peers\FlowDocumentScrollViewerAutomationPeer.cs (1)
42AutomationPeer scrollPeer = UIElementAutomationPeer.CreatePeerForElement(owner.ScrollViewer);
System\Windows\Automation\Peers\GridViewAutomationPeer.cs (2)
69AutomationPeer peer = UIElementAutomationPeer.CreatePeerForElement(_owner.HeaderRowPresenter); 139AutomationPeer peer = UIElementAutomationPeer.CreatePeerForElement(e);
System\Windows\Automation\Peers\GridViewCellAutomationPeer.cs (1)
171&& (peer = CreatePeerForElement((UIElement)child)) != null)
System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (2)
98AutomationPeer expanderPeer = UIElementAutomationPeer.CreatePeerForElement(groupItem.Expander); 125_expanderPeer = UIElementAutomationPeer.CreatePeerForElement(owner.Expander);
System\Windows\Automation\Peers\ItemAutomationPeer.cs (1)
109wrapperPeer = UIElementAutomationPeer.CreatePeerForElement(wrapper);
System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (2)
30AutomationPeer scrollPeer = UIElementAutomationPeer.CreatePeerForElement(owner.ScrollHost); 773return UIElementAutomationPeer.CreatePeerForElement((UIElement)_container);
System\Windows\Automation\Peers\MenuItemAutomationPeer.cs (1)
179peer = UIElementAutomationPeer.CreatePeerForElement(uiElement);
System\Windows\Automation\Peers\StatusBarAutomationPeer.cs (3)
43list.Add(UIElementAutomationPeer.CreatePeerForElement(separator)); 57list.Add(UIElementAutomationPeer.CreatePeerForElement(item)); 116&& (peer = CreatePeerForElement((UIElement)child)) != null)
System\Windows\Automation\Peers\TreeViewAutomationPeer.cs (1)
40AutomationPeer scrollPeer = UIElementAutomationPeer.CreatePeerForElement(owner.ScrollHost);
System\Windows\Automation\Peers\TreeViewItemAutomationPeer.cs (1)
129peer = CreatePeerForElement((UIElement)child);
System\Windows\Controls\Button.cs (1)
251AutomationPeer peer = UIElementAutomationPeer.CreatePeerForElement(this);
System\Windows\Controls\ComboBox.cs (1)
567ComboBoxAutomationPeer peer = UIElementAutomationPeer.CreatePeerForElement(this) as ComboBoxAutomationPeer;
System\Windows\Controls\GridViewColumnHeader.cs (1)
801AutomationPeer peer = UIElementAutomationPeer.CreatePeerForElement(this);
System\Windows\Controls\ListBox.cs (1)
296ListBoxAutomationPeer peer = UIElementAutomationPeer.CreatePeerForElement(this) as ListBoxAutomationPeer;
System\Windows\Controls\MenuItem.cs (1)
1381AutomationPeer peer = UIElementAutomationPeer.CreatePeerForElement(this);
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (1)
747AutomationPeer peer = UIElementAutomationPeer.CreatePeerForElement(this);
System\Windows\Controls\Primitives\MenuBase.cs (1)
302AutomationPeer peer = UIElementAutomationPeer.CreatePeerForElement(this);
System\Windows\Controls\Primitives\Popup.cs (1)
3435PopupRootAutomationPeer popupRootAutomationPeer = UIElementAutomationPeer.CreatePeerForElement(popupRoot) as PopupRootAutomationPeer;
System\Windows\Controls\Primitives\RepeatButton.cs (1)
197AutomationPeer peer = UIElementAutomationPeer.CreatePeerForElement(this);
System\Windows\Controls\TabControl.cs (1)
367TabControlAutomationPeer peer = UIElementAutomationPeer.CreatePeerForElement(this) as TabControlAutomationPeer;
System\Windows\Controls\ToolTip.cs (2)
168AutomationPeer peer = UIElementAutomationPeer.CreatePeerForElement(t); 541AutomationPeer peer = UIElementAutomationPeer.CreatePeerForElement(this);
System\Windows\Controls\TreeView.cs (2)
248TreeViewItemAutomationPeer peer = UIElementAutomationPeer.CreatePeerForElement(_selectedContainer) as TreeViewItemAutomationPeer; 255TreeViewItemAutomationPeer peer = UIElementAutomationPeer.CreatePeerForElement(oldContainer) as TreeViewItemAutomationPeer;
System\Windows\Interop\HwndHost.cs (1)
629AutomationPeer containerPeer = UIElementAutomationPeer.CreatePeerForElement(this);
System.Windows.Controls.Ribbon (20)
Microsoft\Windows\Automation\Peers\RibbonAutomationPeer.cs (7)
65AutomationPeer tabHeadersItemsControlPeer = UIElementAutomationPeer.CreatePeerForElement(tabHeadersItemsControl); 88AutomationPeer peer = CreatePeerForElement(OwningRibbon.QuickAccessToolBar); 97AutomationPeer peer = CreatePeerForElement(OwningRibbon.TitleHost); 111AutomationPeer peer = CreatePeerForElement(OwningRibbon.ContextualTabGroupItemsControl); 121AutomationPeer peer = CreatePeerForElement(OwningRibbon.ApplicationMenu); 134AutomationPeer peer = CreatePeerForElement(OwningRibbon.RibbonTabHeaderItemsControl); 202AutomationPeer peer = CreatePeerForElement(helpPaneHost);
Microsoft\Windows\Automation\Peers\RibbonComboBoxAutomationPeer.cs (1)
61AutomationPeer peer = CreatePeerForElement(owner.EditableTextBoxSite);
Microsoft\Windows\Automation\Peers\RibbonContextualTabGroupAutomationPeer.cs (1)
45AutomationPeer peer = CreatePeerForElement(headerElement);
Microsoft\Windows\Automation\Peers\RibbonMenuButtonAutomationPeer.cs (2)
51AutomationPeer peer = CreatePeerForElement(owner.PartToggleButton); 103AutomationPeer buttonPeer = UIElementAutomationPeer.CreatePeerForElement(owner.PartToggleButton);
Microsoft\Windows\Automation\Peers\RibbonQuickAccessToolBarAutomationPeer.cs (1)
50children.Add(CreatePeerForElement(customizeMenuButton));
Microsoft\Windows\Automation\Peers\RibbonSplitButtonAutomationPeer.cs (2)
79ToggleButtonAutomationPeer headerButtonAutomationPeer = CreatePeerForElement(OwningSplitButton.HeaderButton) as ToggleButtonAutomationPeer; 112ButtonAutomationPeer headerButtonAutomationPeer = CreatePeerForElement(OwningSplitButton.HeaderButton) as ButtonAutomationPeer;
Microsoft\Windows\Automation\Peers\RibbonTabAutomationPeer.cs (1)
123AutomationPeer headerPeer = CreatePeerForElement(OwningTab.RibbonTabHeader);
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (1)
1271RibbonTabAutomationPeer peer = UIElementAutomationPeer.CreatePeerForElement(selectedTab) as RibbonTabAutomationPeer;
Microsoft\Windows\Controls\Ribbon\RibbonGalleryItem.cs (2)
108RibbonGalleryItemAutomationPeer peer = UIElementAutomationPeer.CreatePeerForElement(this) as RibbonGalleryItemAutomationPeer; 146RibbonGalleryItemAutomationPeer peer = UIElementAutomationPeer.CreatePeerForElement(this) as RibbonGalleryItemAutomationPeer;
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
2835AutomationPeer peer = UIElementAutomationPeer.CreatePeerForElement(element);
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (1)
711RibbonTabAutomationPeer peer = RibbonTabAutomationPeer.CreatePeerForElement(ribbonTab) as RibbonTabAutomationPeer;
WindowsFormsIntegration (1)
System\Windows\Integration\WindowsFormsHost.cs (1)
143WindowsFormsHostAutomationPeer peer = UIElementAutomationPeer.CreatePeerForElement(this) as WindowsFormsHostAutomationPeer;