2 types derived from UIElementAutomationPeer
PresentationCore (1)
System\Windows\Automation\Peers\GenericRootAutomationPeer.cs (1)
12public class GenericRootAutomationPeer : UIElementAutomationPeer
PresentationFramework (1)
System\Windows\Automation\Peers\FrameworkElementAutomationPeer.cs (1)
7public class FrameworkElementAutomationPeer : UIElementAutomationPeer
4 instantiations of UIElementAutomationPeer
PresentationFramework (1)
System\Windows\Automation\Peers\ItemAutomationPeer.cs (1)
115wrapperPeer = new UIElementAutomationPeer(wrapper);
System.Windows.Controls.Ribbon (3)
Microsoft\Windows\Automation\Peers\RibbonAutomationPeer.cs (2)
104peer = new UIElementAutomationPeer(OwningRibbon.TitleHost); 209peer = new UIElementAutomationPeer(helpPaneHost);
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
2842peer = new UIElementAutomationPeer(element);
120 references to UIElementAutomationPeer
PresentationCore (8)
MS\Internal\Automation\ElementProxy.cs (1)
42(peer is UIElementAutomationPeer || peer is ContentElementAutomationPeer || peer is UIElement3DAutomationPeer))
System\Windows\Automation\Peers\AutomationPeer.cs (1)
412peer = UIElementAutomationPeer.CreatePeerForElement(uie);
System\Windows\Automation\Peers\UIElement3DAutomationPeer.cs (2)
93&& (peer = UIElementAutomationPeer.CreatePeerForElement((UIElement)child)) != null ) 218Rect boundingRect = UIElementAutomationPeer.CalculateVisibleBoundingRect(containingUIElement);
System\Windows\Automation\Peers\UIElementAutomationPeer.cs (2)
422AutomationPeer peer = UIElementAutomationPeer.FromElement(element); 457AutomationPeer peer = UIElementAutomationPeer.FromElement(element);
System\Windows\InterOp\HwndTarget.cs (2)
1410peer = UIElementAutomationPeer.CreatePeerForElement(uiroot); 1424peer = UIElementAutomationPeer.GetRootAutomationPeer(root, handle);
PresentationFramework (95)
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 (1)
139AutomationPeer dayTitlePeer = UIElementAutomationPeer.CreatePeerForElement(child);
System\Windows\Automation\Peers\ComboBoxAutomationPeer.cs (1)
73AutomationPeer peer = UIElementAutomationPeer.CreatePeerForElement(textBox);
System\Windows\Automation\Peers\ContentTextAutomationPeer.cs (2)
72if (peer is UIElementAutomationPeer) 74element = ((UIElementAutomationPeer)peer).Owner;
System\Windows\Automation\Peers\DataGridAutomationPeer.cs (1)
92AutomationPeer scrollPeer = UIElementAutomationPeer.CreatePeerForElement(scrollViewer);
System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (3)
561DataGridColumnHeadersPresenterAutomationPeer columnHeadersPresenterPeer = UIElementAutomationPeer.CreatePeerForElement(this.OwningDataGrid.ColumnHeadersPresenter) as DataGridColumnHeadersPresenterAutomationPeer; 582DataGridAutomationPeer dataGridAutomationPeer = UIElementAutomationPeer.CreatePeerForElement(this.OwningDataGrid) as DataGridAutomationPeer; 873AutomationPeer peer = UIElementAutomationPeer.CreatePeerForElement(OwningDataGrid);
System\Windows\Automation\Peers\DataGridColumnHeaderItemAutomationPeer.cs (2)
114UIElementAutomationPeer wrapperPeer = GetWrapperPeer() as UIElementAutomationPeer;
System\Windows\Automation\Peers\DatePickerAutomationPeer.cs (1)
93CalendarAutomationPeer peer = UIElementAutomationPeer.CreatePeerForElement(OwningDatePicker.Calendar) as CalendarAutomationPeer;
System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (1)
612UIElementAutomationPeer wrapperPeer = WrapperPeer;
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\ExpanderAutomationPeer.cs (1)
37foreach (UIElementAutomationPeer peer in children)
System\Windows\Automation\Peers\FlowDocumentScrollViewerAutomationPeer.cs (1)
42AutomationPeer scrollPeer = UIElementAutomationPeer.CreatePeerForElement(owner.ScrollViewer);
System\Windows\Automation\Peers\GridViewAutomationPeer.cs (9)
69AutomationPeer peer = UIElementAutomationPeer.CreatePeerForElement(_owner.HeaderRowPresenter); 87ListViewAutomationPeer lvAP = UIElementAutomationPeer.FromElement(_listview) as ListViewAutomationPeer; 94ListViewAutomationPeer peer = UIElementAutomationPeer.FromElement(_listview) as ListViewAutomationPeer; 133ListViewAutomationPeer lvpeer = UIElementAutomationPeer.FromElement(_listview) as ListViewAutomationPeer; 139AutomationPeer peer = UIElementAutomationPeer.CreatePeerForElement(e); 223AutomationPeer lvpeer = UIElementAutomationPeer.FromElement(_listview); 226AutomationPeer peer = UIElementAutomationPeer.FromElement(lvi); 256ListViewAutomationPeer peer = UIElementAutomationPeer.FromElement(_listview) as ListViewAutomationPeer; 263AutomationPeer lvPeer = UIElementAutomationPeer.FromElement(_listview);
System\Windows\Automation\Peers\GridViewCellAutomationPeer.cs (1)
108AutomationPeer peer = UIElementAutomationPeer.FromElement(header);
System\Windows\Automation\Peers\GridViewHeaderRowPresenterAutomationPeer.cs (2)
48if (peer is UIElementAutomationPeer) 50GridViewColumnHeader header = ((UIElementAutomationPeer)peer).Owner as GridViewColumnHeader;
System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (4)
98AutomationPeer expanderPeer = UIElementAutomationPeer.CreatePeerForElement(groupItem.Expander); 125_expanderPeer = UIElementAutomationPeer.CreatePeerForElement(owner.Expander); 158UIElementAutomationPeer peer = child.CreateAutomationPeer() as UIElementAutomationPeer;
System\Windows\Automation\Peers\ItemAutomationPeer.cs (3)
71UIElementAutomationPeer peer = GetWrapperPeer() as UIElementAutomationPeer; 109wrapperPeer = UIElementAutomationPeer.CreatePeerForElement(wrapper);
System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (4)
30AutomationPeer scrollPeer = UIElementAutomationPeer.CreatePeerForElement(owner.ScrollHost); 80UIElementAutomationPeer peer = child.CreateAutomationPeer() as UIElementAutomationPeer; 773return UIElementAutomationPeer.CreatePeerForElement((UIElement)_container);
System\Windows\Automation\Peers\ListBoxItemAutomationPeer.cs (1)
46IExpandCollapseProvider iecp = (IExpandCollapseProvider)UIElementAutomationPeer.FromElement(parent) as ComboBoxAutomationPeer;
System\Windows\Automation\Peers\MenuItemAutomationPeer.cs (2)
177AutomationPeer peer = UIElementAutomationPeer.FromElement(uiElement); 179peer = UIElementAutomationPeer.CreatePeerForElement(uiElement);
System\Windows\Automation\Peers\ScrollBarAutomationPeer.cs (1)
73ScrollViewerAutomationPeer svAP = UIElementAutomationPeer.FromElement(sv) as ScrollViewerAutomationPeer;
System\Windows\Automation\Peers\StatusBarAutomationPeer.cs (2)
43list.Add(UIElementAutomationPeer.CreatePeerForElement(separator)); 57list.Add(UIElementAutomationPeer.CreatePeerForElement(item));
System\Windows\Automation\Peers\TextAutomationPeer.cs (2)
97if (peer is UIElementAutomationPeer) 99element = ((UIElementAutomationPeer)peer).Owner;
System\Windows\Automation\Peers\TreeViewAutomationPeer.cs (2)
40AutomationPeer scrollPeer = UIElementAutomationPeer.CreatePeerForElement(owner.ScrollHost); 157AutomationPeer peer = UIElementAutomationPeer.FromElement(selectedContainer);
System\Windows\Automation\Peers\TreeViewItemAutomationPeer.cs (1)
370AutomationPeer peer = UIElementAutomationPeer.FromElement(parent);
System\Windows\Controls\Button.cs (1)
251AutomationPeer peer = UIElementAutomationPeer.CreatePeerForElement(this);
System\Windows\Controls\ComboBox.cs (3)
214ComboBoxAutomationPeer peer = UIElementAutomationPeer.FromElement(comboBox) as ComboBoxAutomationPeer; 567ComboBoxAutomationPeer peer = UIElementAutomationPeer.CreatePeerForElement(this) as ComboBoxAutomationPeer; 609ComboBoxAutomationPeer peer = UIElementAutomationPeer.FromElement(cb) as ComboBoxAutomationPeer;
System\Windows\Controls\DataGridRow.cs (1)
1066DataGridAutomationPeer gridPeer = UIElementAutomationPeer.FromElement(grid) as DataGridAutomationPeer;
System\Windows\Controls\DatePicker.cs (1)
478DatePickerAutomationPeer peer = UIElementAutomationPeer.FromElement(dp) as DatePickerAutomationPeer;
System\Windows\Controls\Expander.cs (1)
131ExpanderAutomationPeer peer = UIElementAutomationPeer.FromElement(ep) as ExpanderAutomationPeer;
System\Windows\Controls\FlowDocumentReader.cs (3)
1057FlowDocumentReaderAutomationPeer peer = UIElementAutomationPeer.FromElement(this) as FlowDocumentReaderAutomationPeer; 1620FlowDocumentReaderAutomationPeer peer = UIElementAutomationPeer.FromElement(viewer) as FlowDocumentReaderAutomationPeer; 1658FlowDocumentReaderAutomationPeer peer = UIElementAutomationPeer.FromElement(viewer) as FlowDocumentReaderAutomationPeer;
System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
1258FlowDocumentScrollViewerAutomationPeer peer = UIElementAutomationPeer.FromElement(this) as FlowDocumentScrollViewerAutomationPeer;
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\ListView.cs (2)
107ListViewAutomationPeer lvPeer = UIElementAutomationPeer.FromElement(listView) as ListViewAutomationPeer; 199ListViewAutomationPeer lvPeer = UIElementAutomationPeer.FromElement(this) as ListViewAutomationPeer;
System\Windows\Controls\MenuItem.cs (3)
597MenuItemAutomationPeer peer = UIElementAutomationPeer.FromElement(menuItem) as MenuItemAutomationPeer; 958MenuItemAutomationPeer peer = UIElementAutomationPeer.FromElement(menuItem) as MenuItemAutomationPeer; 1381AutomationPeer peer = UIElementAutomationPeer.CreatePeerForElement(this);
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (1)
747AutomationPeer peer = UIElementAutomationPeer.CreatePeerForElement(this);
System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
1389DocumentViewerBaseAutomationPeer peer = UIElementAutomationPeer.FromElement(this) as DocumentViewerBaseAutomationPeer;
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\RangeBase.cs (3)
92RangeBaseAutomationPeer peer = UIElementAutomationPeer.FromElement(ctrl) as RangeBaseAutomationPeer; 153RangeBaseAutomationPeer peer = UIElementAutomationPeer.FromElement(ctrl) as RangeBaseAutomationPeer; 223RangeBaseAutomationPeer peer = UIElementAutomationPeer.FromElement(ctrl) as RangeBaseAutomationPeer;
System\Windows\Controls\Primitives\RepeatButton.cs (1)
197AutomationPeer peer = UIElementAutomationPeer.CreatePeerForElement(this);
System\Windows\Controls\Primitives\Selector.cs (1)
992SelectorAutomationPeer selectorPeer = UIElementAutomationPeer.FromElement(this) as SelectorAutomationPeer;
System\Windows\Controls\Primitives\ToggleButton.cs (1)
161ToggleButtonAutomationPeer peer = UIElementAutomationPeer.FromElement(button) as ToggleButtonAutomationPeer;
System\Windows\Controls\ProgressBar.cs (1)
102ProgressBarAutomationPeer peer = UIElementAutomationPeer.FromElement(progressBar) as ProgressBarAutomationPeer;
System\Windows\Controls\ScrollViewer.cs (1)
2414ScrollViewerAutomationPeer peer = UIElementAutomationPeer.FromElement(this) as ScrollViewerAutomationPeer;
System\Windows\Controls\TabControl.cs (1)
367TabControlAutomationPeer peer = UIElementAutomationPeer.CreatePeerForElement(this) as TabControlAutomationPeer;
System\Windows\Controls\TextBox.cs (1)
1047TextBoxAutomationPeer peer = UIElementAutomationPeer.FromElement(this) as TextBoxAutomationPeer;
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\Controls\TreeViewItem.cs (2)
111TreeViewItemAutomationPeer peer = UIElementAutomationPeer.FromElement(item) as TreeViewItemAutomationPeer; 156TreeViewItemAutomationPeer peer = UIElementAutomationPeer.FromElement(item) as TreeViewItemAutomationPeer;
System\Windows\Interop\HwndHost.cs (1)
629AutomationPeer containerPeer = UIElementAutomationPeer.CreatePeerForElement(this);
System\Windows\Navigation\NavigationService.cs (1)
2312AutomationPeer peer = UIElementAutomationPeer.FromElement(navigatorHost) as AutomationPeer;
System\Windows\Window.cs (1)
4819AutomationPeer peer = UIElementAutomationPeer.FromElement(this);
System.Windows.Controls.Ribbon (16)
Microsoft\Windows\Automation\Peers\RibbonAutomationPeer.cs (1)
65AutomationPeer tabHeadersItemsControlPeer = UIElementAutomationPeer.CreatePeerForElement(tabHeadersItemsControl);
Microsoft\Windows\Automation\Peers\RibbonGalleryAutomationPeer.cs (1)
169AutomationPeer peer = UIElementAutomationPeer.FromElement(selectedContainers[index]);
Microsoft\Windows\Automation\Peers\RibbonMenuButtonAutomationPeer.cs (1)
103AutomationPeer buttonPeer = UIElementAutomationPeer.CreatePeerForElement(owner.PartToggleButton);
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (2)
1271RibbonTabAutomationPeer peer = UIElementAutomationPeer.CreatePeerForElement(selectedTab) as RibbonTabAutomationPeer; 1327RibbonAutomationPeer peer = UIElementAutomationPeer.FromElement(ribbon) as RibbonAutomationPeer;
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (1)
122RibbonComboBoxAutomationPeer peer = UIElementAutomationPeer.FromElement(cb) as RibbonComboBoxAutomationPeer;
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\RibbonGroup.cs (1)
633RibbonGroupAutomationPeer peer = UIElementAutomationPeer.FromElement(group) as RibbonGroupAutomationPeer;
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
2835AutomationPeer peer = UIElementAutomationPeer.CreatePeerForElement(element);
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (1)
1125RibbonMenuButtonAutomationPeer peer = UIElementAutomationPeer.FromElement(this) as RibbonMenuButtonAutomationPeer;
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (2)
1238RibbonMenuItemAutomationPeer peer = UIElementAutomationPeer.FromElement((RibbonMenuItem)d) as RibbonMenuItemAutomationPeer; 1292RibbonMenuItemAutomationPeer peer = UIElementAutomationPeer.FromElement(menuItem) as RibbonMenuItemAutomationPeer;
Microsoft\Windows\Controls\Ribbon\RibbonQuickAccessToolBar.cs (1)
188RibbonQuickAccessToolBarAutomationPeer peer = UIElementAutomationPeer.FromElement(qat) as RibbonQuickAccessToolBarAutomationPeer;
Microsoft\Windows\Controls\Ribbon\RibbonSplitButton.cs (2)
399RibbonSplitButtonAutomationPeer peer = UIElementAutomationPeer.FromElement(this) as RibbonSplitButtonAutomationPeer; 409RibbonSplitButtonAutomationPeer peer = UIElementAutomationPeer.FromElement(splitButton) as RibbonSplitButtonAutomationPeer;
WindowsFormsIntegration (1)
System\Windows\Integration\WindowsFormsHost.cs (1)
143WindowsFormsHostAutomationPeer peer = UIElementAutomationPeer.CreatePeerForElement(this) as WindowsFormsHostAutomationPeer;