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