48 references to FromElement
PresentationCore (3)
Core\CSharp\System\Windows\Automation\Peers\UIElementAutomationPeer.cs (3)
47
/// and <seealso cref="
FromElement
"/>. The type of the peer is determined by the
449
AutomationPeer peer = UIElementAutomationPeer.
FromElement
(element);
484
AutomationPeer peer = UIElementAutomationPeer.
FromElement
(element);
PresentationFramework (45)
src\Framework\System\Windows\Automation\Peers\GridViewAutomationPeer.cs (7)
96
ListViewAutomationPeer lvAP = UIElementAutomationPeer.
FromElement
(_listview) as ListViewAutomationPeer;
103
ListViewAutomationPeer peer = UIElementAutomationPeer.
FromElement
(_listview) as ListViewAutomationPeer;
142
ListViewAutomationPeer lvpeer = UIElementAutomationPeer.
FromElement
(_listview) as ListViewAutomationPeer;
239
AutomationPeer lvpeer = UIElementAutomationPeer.
FromElement
(_listview);
242
AutomationPeer peer = UIElementAutomationPeer.
FromElement
(lvi);
272
ListViewAutomationPeer peer = UIElementAutomationPeer.
FromElement
(_listview) as ListViewAutomationPeer;
282
AutomationPeer lvPeer = UIElementAutomationPeer.
FromElement
(_listview);
src\Framework\System\Windows\Automation\Peers\GridViewCellAutomationPeer.cs (1)
117
AutomationPeer peer = UIElementAutomationPeer.
FromElement
(header);
src\Framework\System\Windows\Automation\Peers\ListBoxItemAutomationPeer.cs (1)
58
IExpandCollapseProvider iecp = (IExpandCollapseProvider)UIElementAutomationPeer.
FromElement
(parent) as ComboBoxAutomationPeer;
src\Framework\System\Windows\Automation\Peers\MenuItemAutomationPeer.cs (1)
166
AutomationPeer peer = UIElementAutomationPeer.
FromElement
(uiElement);
src\Framework\System\Windows\Automation\Peers\ScrollBarAutomationPeer.cs (1)
76
ScrollViewerAutomationPeer svAP = UIElementAutomationPeer.
FromElement
(sv) as ScrollViewerAutomationPeer;
src\Framework\System\Windows\Automation\Peers\TreeViewAutomationPeer.cs (1)
168
AutomationPeer peer = UIElementAutomationPeer.
FromElement
(selectedContainer);
src\Framework\System\Windows\Automation\Peers\TreeViewItemAutomationPeer.cs (1)
387
AutomationPeer peer = UIElementAutomationPeer.
FromElement
(parent);
src\Framework\System\Windows\Controls\Calendar.cs (1)
1056
CalendarAutomationPeer peer = FrameworkElementAutomationPeer.
FromElement
(this) as CalendarAutomationPeer;
src\Framework\System\Windows\Controls\ComboBox.cs (2)
226
ComboBoxAutomationPeer peer = UIElementAutomationPeer.
FromElement
(comboBox) as ComboBoxAutomationPeer;
628
ComboBoxAutomationPeer peer = UIElementAutomationPeer.
FromElement
(cb) as ComboBoxAutomationPeer;
src\Framework\System\Windows\Controls\DataGrid.cs (6)
2459
DataGridAutomationPeer peer = DataGridAutomationPeer.
FromElement
(this) as DataGridAutomationPeer;
2486
DataGridAutomationPeer peer = DataGridAutomationPeer.
FromElement
(this) as DataGridAutomationPeer;
3131
DataGridAutomationPeer peer = DataGridAutomationPeer.
FromElement
(this) as DataGridAutomationPeer;
4318
DataGridAutomationPeer peer = DataGridAutomationPeer.
FromElement
(this) as DataGridAutomationPeer;
4571
DataGridAutomationPeer peer = DataGridAutomationPeer.
FromElement
(this) as DataGridAutomationPeer;
6891
DataGridAutomationPeer peer = DataGridAutomationPeer.
FromElement
(column.DataGridOwner) as DataGridAutomationPeer;
src\Framework\System\Windows\Controls\DataGridRow.cs (1)
1094
DataGridAutomationPeer gridPeer = UIElementAutomationPeer.
FromElement
(grid) as DataGridAutomationPeer;
src\Framework\System\Windows\Controls\DatePicker.cs (1)
472
DatePickerAutomationPeer peer = UIElementAutomationPeer.
FromElement
(dp) as DatePickerAutomationPeer;
src\Framework\System\Windows\Controls\Expander.cs (1)
137
ExpanderAutomationPeer peer = UIElementAutomationPeer.
FromElement
(ep) as ExpanderAutomationPeer;
src\Framework\System\Windows\Controls\FlowDocumentReader.cs (3)
1078
FlowDocumentReaderAutomationPeer peer = UIElementAutomationPeer.
FromElement
(this) as FlowDocumentReaderAutomationPeer;
1658
FlowDocumentReaderAutomationPeer peer = UIElementAutomationPeer.
FromElement
(viewer) as FlowDocumentReaderAutomationPeer;
1699
FlowDocumentReaderAutomationPeer peer = UIElementAutomationPeer.
FromElement
(viewer) as FlowDocumentReaderAutomationPeer;
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
1278
FlowDocumentScrollViewerAutomationPeer peer = UIElementAutomationPeer.
FromElement
(this) as FlowDocumentScrollViewerAutomationPeer;
src\Framework\System\Windows\Controls\ListView.cs (2)
110
ListViewAutomationPeer lvPeer = UIElementAutomationPeer.
FromElement
(listView) as ListViewAutomationPeer;
205
ListViewAutomationPeer lvPeer = UIElementAutomationPeer.
FromElement
(this) as ListViewAutomationPeer;
src\Framework\System\Windows\Controls\MenuItem.cs (1)
603
MenuItemAutomationPeer peer = UIElementAutomationPeer.
FromElement
(menuItem) as MenuItemAutomationPeer;
src\Framework\System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
1432
DocumentViewerBaseAutomationPeer peer = UIElementAutomationPeer.
FromElement
(this) as DocumentViewerBaseAutomationPeer;
src\Framework\System\Windows\Controls\Primitives\RangeBase.cs (3)
106
RangeBaseAutomationPeer peer = UIElementAutomationPeer.
FromElement
(ctrl) as RangeBaseAutomationPeer;
170
RangeBaseAutomationPeer peer = UIElementAutomationPeer.
FromElement
(ctrl) as RangeBaseAutomationPeer;
243
RangeBaseAutomationPeer peer = UIElementAutomationPeer.
FromElement
(ctrl) as RangeBaseAutomationPeer;
src\Framework\System\Windows\Controls\Primitives\Selector.cs (1)
1014
SelectorAutomationPeer selectorPeer = UIElementAutomationPeer.
FromElement
(this) as SelectorAutomationPeer;
src\Framework\System\Windows\Controls\Primitives\ToggleButton.cs (1)
176
ToggleButtonAutomationPeer peer = UIElementAutomationPeer.
FromElement
(button) as ToggleButtonAutomationPeer;
src\Framework\System\Windows\Controls\ProgressBar.cs (1)
105
ProgressBarAutomationPeer peer = UIElementAutomationPeer.
FromElement
(progressBar) as ProgressBarAutomationPeer;
src\Framework\System\Windows\Controls\ScrollViewer.cs (1)
2462
ScrollViewerAutomationPeer peer = UIElementAutomationPeer.
FromElement
(this) as ScrollViewerAutomationPeer;
src\Framework\System\Windows\Controls\TextBox.cs (1)
1044
TextBoxAutomationPeer peer = UIElementAutomationPeer.
FromElement
(this) as TextBoxAutomationPeer;
src\Framework\System\Windows\Controls\TreeViewItem.cs (2)
117
TreeViewItemAutomationPeer peer = UIElementAutomationPeer.
FromElement
(item) as TreeViewItemAutomationPeer;
165
TreeViewItemAutomationPeer peer = UIElementAutomationPeer.
FromElement
(item) as TreeViewItemAutomationPeer;
src\Framework\System\Windows\Navigation\NavigationService.cs (1)
2558
AutomationPeer peer = UIElementAutomationPeer.
FromElement
(navigatorHost) as AutomationPeer;
src\Framework\System\Windows\Window.cs (1)
5007
AutomationPeer peer = UIElementAutomationPeer.
FromElement
(this);