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