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