236 references to Owner
PresentationFramework (173)
System\Windows\Automation\Peers\ButtonAutomationPeer.cs (1)
59((Button)Owner).AutomationButtonBaseClick();
System\Windows\Automation\Peers\ButtonBaseAutomationPeer.cs (3)
37RoutedUICommand uiCommand = ((ButtonBase)Owner).Command as RoutedUICommand; 52ButtonBase owner = (ButtonBase)Owner; 72ButtonBase bb = (ButtonBase)Owner;
System\Windows\Automation\Peers\CalendarAutomationPeer.cs (2)
39return this.Owner as System.Windows.Controls.Calendar; 178return this.Owner.GetType().Name;
System\Windows\Automation\Peers\CalendarButtonAutomationPeer.cs (2)
36return (Owner is CalendarDayButton); 59return Owner.GetType().Name;
System\Windows\Automation\Peers\ComboBoxAutomationPeer.cs (10)
54ComboBox owner = (ComboBox)Owner; 82ComboBox owner = (ComboBox)Owner; 102ComboBox owner = (ComboBox)Owner; 132ComboBox owner = (ComboBox)Owner; 157ComboBox owner = (ComboBox)Owner; 170return ((ComboBox)(((ComboBoxAutomationPeer)this).Owner)).Text; 181ComboBox owner = (ComboBox)Owner; 208ComboBox owner = (ComboBox)((ComboBoxAutomationPeer)this).Owner; 222ComboBox owner = (ComboBox)((ComboBoxAutomationPeer)this).Owner; 232ComboBox owner = (ComboBox)((ComboBoxAutomationPeer)this).Owner;
System\Windows\Automation\Peers\ContentTextAutomationPeer.cs (1)
76element = ((UIElementAutomationPeer)peer).Owner;
System\Windows\Automation\Peers\DataGridAutomationPeer.cs (2)
77return Owner.GetType().Name; 307return (DataGrid)Owner;
System\Windows\Automation\Peers\DataGridCellAutomationPeer.cs (1)
51return Owner.GetType().Name;
System\Windows\Automation\Peers\DataGridColumnHeaderAutomationPeer.cs (1)
50return Owner.GetType().Name;
System\Windows\Automation\Peers\DataGridColumnHeaderItemAutomationPeer.cs (1)
124((DataGridColumnHeader)wrapperPeer.Owner).Invoke();
System\Windows\Automation\Peers\DataGridColumnHeadersPresenterAutomationPeer.cs (4)
50return Owner.GetType().Name; 66ItemsControl owner = (ItemsControl)Owner; 168ItemsControl owner = (ItemsControl)Owner; 276return ((DataGridColumnHeadersPresenter)Owner).ParentDataGrid;
System\Windows\Automation\Peers\DataGridDetailsPresenterAutomationPeer.cs (1)
37return this.Owner.GetType().Name;
System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (1)
590return (DataGrid)gridPeer.Owner;
System\Windows\Automation\Peers\DataGridRowAutomationPeer.cs (2)
51return Owner.GetType().Name; 130return (DataGridRow)Owner;
System\Windows\Automation\Peers\DataGridRowHeaderAutomationPeer.cs (1)
50return Owner.GetType().Name;
System\Windows\Automation\Peers\DatePickerAutomationPeer.cs (2)
33return this.Owner as DatePicker; 112return Owner.GetType().Name;
System\Windows\Automation\Peers\DocumentPageViewAutomationPeer.cs (1)
51DocumentPageView owner = (DocumentPageView)Owner;
System\Windows\Automation\Peers\DocumentViewerAutomationPeer.cs (1)
55DocumentViewer owner = (DocumentViewer)Owner;
System\Windows\Automation\Peers\DocumentViewerBaseAutomationPeer.cs (1)
113IDocumentPaginatorSource document = ((DocumentViewerBase)Owner).Document;
System\Windows\Automation\Peers\ExpanderAutomationPeer.cs (6)
46ToggleButton expanderToggleButton = ((Expander)Owner).ExpanderToggleButton; 52if (peer.Owner == expanderToggleButton) 66return ((!AccessibilitySwitches.UseNetFx47CompatibleAccessibilityFeatures && ((Expander)Owner).IsExpanderToggleButtonFocused) 98Expander owner = (Expander)((ExpanderAutomationPeer)this).Owner; 111Expander owner = (Expander)((ExpanderAutomationPeer)this).Owner; 120Expander owner = (Expander)((ExpanderAutomationPeer)this).Owner;
System\Windows\Automation\Peers\FlowDocumentPageViewerAutomationPeer.cs (1)
43if (Owner is IFlowDocumentViewer && children != null && children.Count > 0)
System\Windows\Automation\Peers\FlowDocumentReaderAutomationPeer.cs (2)
61FlowDocument document = ((FlowDocumentReader)Owner).Document; 191get { return (FlowDocumentReader)Owner; }
System\Windows\Automation\Peers\FlowDocumentScrollViewerAutomationPeer.cs (3)
41FlowDocumentScrollViewer owner = (FlowDocumentScrollViewer)Owner; 87if (!(Owner is IFlowDocumentViewer)) 91FlowDocument document = ((FlowDocumentScrollViewer)Owner).Document;
System\Windows\Automation\Peers\FrameworkElementAutomationPeer.cs (5)
38FrameworkElement owner = (FrameworkElement)Owner; 39result = Owner.Uid; 62result = ((FrameworkElement)Owner).GetPlainText(); 74object toolTip = ((FrameworkElement)Owner).ToolTip; 101DependencyObject owner = Owner;
System\Windows\Automation\Peers\GridSplitterAutomationPeer.cs (1)
60((GridSplitter)Owner).KeyboardMoveSplitter(x, y);
System\Windows\Automation\Peers\GridViewCellAutomationPeer.cs (6)
46return Owner.GetType().Name; 52if (Owner is TextBlock) 77if (Owner is TextBlock) 82return includeInvisibleItems || Owner.IsVisible; 86List<AutomationPeer> children = GetChildrenAutomationPeer(Owner, includeInvisibleItems); 113ListView listview = _listviewAP.Owner as ListView;
System\Windows\Automation\Peers\GridViewColumnHeaderAutomationPeer.cs (2)
69GridViewColumnHeader owner = (GridViewColumnHeader)Owner; 96GridViewColumnHeader header = Owner as GridViewColumnHeader;
System\Windows\Automation\Peers\GridViewHeaderRowPresenterAutomationPeer.cs (1)
65GridViewColumnHeader header = ((UIElementAutomationPeer)peer).Owner as GridViewColumnHeader;
System\Windows\Automation\Peers\GridViewItemAutomationPeer.cs (1)
51ListView listview = _listviewAP.Owner as ListView;
System\Windows\Automation\Peers\GroupBoxAutomationPeer.cs (1)
47GroupBox groupBox = (GroupBox)Owner;
System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (8)
53GroupItem groupItem = (GroupItem)Owner; 82GroupItem groupItem = (GroupItem)Owner; 108GroupItem groupItem = (GroupItem)Owner; 126GroupItem owner = (GroupItem)Owner; 127ItemsControl itemsControl = ItemsControl.ItemsControlFromItemContainer(Owner); 301ItemsControl itemsControl = ItemsControl.ItemsControlFromItemContainer(Owner); 304CollectionViewGroupInternal cvg = itemsControl.ItemContainerGenerator.ItemFromContainer(Owner) as CollectionViewGroupInternal; 325GroupItem owner = (GroupItem)Owner;
System\Windows\Automation\Peers\HwndHostAutomationPeer.cs (1)
41HwndHost host = (HwndHost)Owner;
System\Windows\Automation\Peers\ItemAutomationPeer.cs (4)
98ItemsControl owner = (ItemsControl)(itemsControlAutomationPeer.Owner); 289ItemsControl parentItemsControl = (ItemsControl)ItemsControlAutomationPeer.Owner; 323ItemsControl parentItemsControl = (ItemsControl)ItemsControlAutomationPeer.Owner; 746ItemsControl parent = itemsControlAutomationPeer.Owner as ItemsControl;
System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (6)
40ItemsControl owner = (ItemsControl)Owner; 53if(Owner as ItemsControl != null) 72ItemsControl owner = (ItemsControl)Owner; 239ItemsControl owner = this.Owner as ItemsControl; 261ItemsControl owner = (ItemsControl)Owner; 425ItemsControl itemsControl = (ItemsControl)Owner;
System\Windows\Automation\Peers\LabelAutomationPeer.cs (1)
46Label label = (Label)Owner;
System\Windows\Automation\Peers\ListBoxItemAutomationPeer.cs (2)
57ComboBox parent = ItemsControlAutomationPeer.Owner as ComboBox; 69ListBox parent = ItemsControlAutomationPeer.Owner as ListBox;
System\Windows\Automation\Peers\MenuItemAutomationPeer.cs (12)
47MenuItem owner = (MenuItem)Owner; 100MenuItem owner = (MenuItem)Owner; 132MenuItem owner = (MenuItem)Owner; 159MenuItem menuItem = (MenuItem)Owner; 180ItemsControl owner = (ItemsControl)Owner; 210MenuItem owner = (MenuItem)Owner; 228MenuItem owner = (MenuItem)Owner; 246MenuItem owner = (MenuItem)Owner; 268MenuItem owner = (MenuItem)Owner; 288MenuItem owner = (MenuItem)Owner; 303MenuItem owner = (MenuItem)Owner; 336MenuItem menuItem = (MenuItem)Owner;
System\Windows\Automation\Peers\PasswordBoxAutomationPeer.cs (3)
75_textPattern = new TextAdaptor(this, ((PasswordBox)Owner).TextContainer); 82PasswordBox owner = (PasswordBox)Owner; 135PasswordBox owner = (PasswordBox)Owner;
System\Windows\Automation\Peers\ProgressBarAutomationPeer.cs (1)
41if (patternInterface == PatternInterface.RangeValue && ((ProgressBar)Owner).IsIndeterminate)
System\Windows\Automation\Peers\RadioButtonAutomationPeer.cs (4)
65((RadioButton)Owner).SetCurrentValueInternal(RadioButton.IsCheckedProperty, MS.Internal.KnownBoxes.BooleanBoxes.TrueBox); 74if (((RadioButton)Owner).IsChecked != true) 85if (((RadioButton)Owner).IsChecked == true) 98return ((RadioButton)Owner).IsChecked == true;
System\Windows\Automation\Peers\RangeBaseAutomationPeer.cs (6)
66RangeBase owner = (RangeBase)Owner; 93return ((RangeBase)Owner).Value; 112return ((RangeBase)Owner).Maximum; 121return ((RangeBase)Owner).Minimum; 130return ((RangeBase)Owner).LargeChange; 139return ((RangeBase)Owner).SmallChange;
System\Windows\Automation\Peers\RepeatButtonAutomationPeer.cs (1)
58RepeatButton owner = (RepeatButton)Owner;
System\Windows\Automation\Peers\RichTextBoxAutomationPeer.cs (3)
49RichTextBox owner = (RichTextBox)Owner; 83RichTextBox owner = (RichTextBox)Owner; 95RichTextBox owner = (RichTextBox)Owner;
System\Windows\Automation\Peers\ScrollBarAutomationPeer.cs (2)
53return ((ScrollBar)Owner).Orientation == Orientation.Horizontal ? 63ScrollBar sb = Owner as ScrollBar;
System\Windows\Automation\Peers\ScrollViewerAutomationPeer.cs (9)
44ScrollViewer sv = (ScrollViewer)Owner; 90ScrollViewer owner = (ScrollViewer)Owner; 153ScrollViewer owner = (ScrollViewer)Owner; 188ScrollViewer owner = (ScrollViewer)Owner; 202ScrollViewer owner = (ScrollViewer)Owner; 215ScrollViewer owner = (ScrollViewer)Owner; 229ScrollViewer owner = (ScrollViewer)Owner; 275ScrollViewer owner = (ScrollViewer)Owner; 283ScrollViewer owner = (ScrollViewer)Owner;
System\Windows\Automation\Peers\SelectorAutomationPeer.cs (3)
97Selector owner = (Selector)Owner; 123Selector owner = (Selector)Owner; 152Selector owner = (Selector)Owner;
System\Windows\Automation\Peers\SelectorItemAutomationPeer.cs (4)
51Selector parentSelector = (Selector)(ItemsControlAutomationPeer.Owner); 69Selector parentSelector = (Selector)(ItemsControlAutomationPeer.Owner); 91Selector parentSelector = (Selector)(ItemsControlAutomationPeer.Owner); 107Selector parentSelector = (Selector)(ItemsControlAutomationPeer.Owner);
System\Windows\Automation\Peers\StatusBarAutomationPeer.cs (1)
46ItemsControl itemscontrol = Owner as ItemsControl;
System\Windows\Automation\Peers\TabItemAutomationPeer.cs (2)
70TabControl parentTabControl = ItemsControlAutomationPeer.Owner as TabControl; 109Selector parentSelector = (Selector)(ItemsControlAutomationPeer.Owner);
System\Windows\Automation\Peers\TextAutomationPeer.cs (2)
70string result = AutomationProperties.GetName(this.Owner); 101element = ((UIElementAutomationPeer)peer).Owner;
System\Windows\Automation\Peers\TextBlockAutomationPeer.cs (2)
36TextBlock owner = (TextBlock)Owner; 68TextBlock tb = (TextBlock)Owner;
System\Windows\Automation\Peers\TextBoxAutomationPeer.cs (5)
56_textPattern = new TextAdaptor(this, ((TextBoxBase)Owner).TextContainer); 63TextBox owner = (TextBox)Owner; 82TextBox owner = (TextBox)Owner; 91TextBox owner = (TextBox)Owner; 101TextBox owner = (TextBox)Owner;
System\Windows\Automation\Peers\ToggleButtonAutomationPeer.cs (2)
58ToggleButton owner = (ToggleButton)Owner; 66ToggleButton owner = (ToggleButton)Owner;
System\Windows\Automation\Peers\TreeViewAutomationPeer.cs (3)
51ItemsControl owner = (ItemsControl)Owner; 75ItemsControl owner = (ItemsControl)Owner; 168TreeViewItem selectedContainer = ((TreeView)Owner).SelectedContainer;
System\Windows\Automation\Peers\TreeViewDataItemAutomationPeer.cs (2)
36if(itemsControlAutomationPeer.Owner is TreeView || parentDataItemAutomationPeer == null) 314ItemsControl parent = itemsControlAutomationPeer.Owner as ItemsControl;
System\Windows\Automation\Peers\TreeViewItemAutomationPeer.cs (13)
69TreeViewItem owner = Owner as TreeViewItem; 105object dataItem = (child as UIElement) != null ? (logicalParentAp.Owner as ItemsControl).GetItemOrContainerFromContainer(child as UIElement) : child; 280TreeViewItem treeViewItem = (TreeViewItem)Owner; 296TreeViewItem treeViewItem = (TreeViewItem)Owner; 310TreeViewItem treeViewItem = (TreeViewItem)Owner; 340((TreeViewItem)Owner).IsSelected = true; 348TreeView treeView = ((TreeViewItem)Owner).ParentTreeView; 350if (treeView == null || (treeView.SelectedItem != null && treeView.SelectedContainer != Owner)) 354((TreeViewItem)Owner).IsSelected = true; 362((TreeViewItem)Owner).IsSelected = false; 372return ((TreeViewItem)Owner).IsSelected; 383ItemsControl parent = ((TreeViewItem)Owner).ParentItemsControl; 397((TreeViewItem)Owner).BringIntoView();
System\Windows\Automation\Peers\UserControlAutomationPeer.cs (1)
24return Owner.GetType().Name;
System\Windows\Automation\Peers\WindowAutomationPeer.cs (3)
43Window window = (Window)Owner; 76Window window = (Window)Owner; 100Window window = (Window)Owner;
PresentationUI (2)
MS\Internal\Documents\Application\PageTextBox.cs (1)
408PageTextBox owner = (PageTextBox)Owner;
MS\Internal\Documents\Application\ZoomComboBox.cs (1)
561ZoomComboBox owner = (ZoomComboBox)Owner;
System.Windows.Controls.Ribbon (60)
Microsoft\Windows\Automation\Peers\RibbonApplicationMenuAutomationPeer.cs (1)
52RibbonApplicationMenu menu = Owner as RibbonApplicationMenu;
Microsoft\Windows\Automation\Peers\RibbonAutomationPeer.cs (2)
45return Owner.GetType().Name; 303return (Ribbon)Owner;
Microsoft\Windows\Automation\Peers\RibbonButtonAutomationPeer.cs (3)
48string accessKey = ((RibbonButton)Owner).KeyTip; 72name = ((RibbonButton)Owner).Label; 86RibbonToolTip toolTip = ((RibbonButton)Owner).ToolTip as RibbonToolTip;
Microsoft\Windows\Automation\Peers\RibbonCheckBoxAutomationPeer.cs (3)
49string accessKey = ((RibbonCheckBox)Owner).KeyTip; 74name = ((RibbonCheckBox)Owner).Label; 88RibbonToolTip toolTip = ((RibbonCheckBox)Owner).ToolTip as RibbonToolTip;
Microsoft\Windows\Automation\Peers\RibbonComboBoxAutomationPeer.cs (2)
81RibbonComboBox owner = (RibbonComboBox)Owner; 156return (RibbonComboBox)Owner;
Microsoft\Windows\Automation\Peers\RibbonContextMenuAutomationPeer.cs (1)
42return Owner.GetType().Name;
Microsoft\Windows\Automation\Peers\RibbonContextualTabGroupAutomationPeer.cs (2)
43RibbonContextualTabGroup tabGroup = Owner as RibbonContextualTabGroup; 68return Owner.GetType().Name;
Microsoft\Windows\Automation\Peers\RibbonControlAutomationPeer.cs (1)
38return Owner.GetType().Name;
Microsoft\Windows\Automation\Peers\RibbonControlGroupAutomationPeer.cs (1)
43return Owner.GetType().Name;
Microsoft\Windows\Automation\Peers\RibbonGalleryAutomationPeer.cs (3)
66RibbonToolTip toolTip = ((RibbonGallery)Owner).ToolTip as RibbonToolTip; 85RibbonGallery owner = (RibbonGallery)Owner; 170Collection<RibbonGalleryItem> selectedContainers = ((RibbonGallery)Owner).SelectedContainers;
Microsoft\Windows\Automation\Peers\RibbonGalleryCategoryAutomationPeer.cs (1)
44ItemsControl owner = (ItemsControl)Owner;
Microsoft\Windows\Automation\Peers\RibbonGalleryItemAutomationPeer.cs (2)
52string accessKey = ((RibbonGalleryItem)Owner).KeyTip; 68RibbonToolTip toolTip = ((RibbonGalleryItem)Owner).ToolTip as RibbonToolTip;
Microsoft\Windows\Automation\Peers\RibbonGroupAutomationPeer.cs (3)
59return Owner.GetType().Name; 97get { return (RibbonGroup)Owner; } 105if (_headerPeer == null || !_headerPeer.Owner.IsDescendantOf(OwningGroup))
Microsoft\Windows\Automation\Peers\RibbonGroupHeaderAutomationPeer.cs (1)
51return Owner.GetType().Name;
Microsoft\Windows\Automation\Peers\RibbonMenuButtonAutomationPeer.cs (4)
75string accessKey = ((RibbonMenuButton)Owner).KeyTip; 88return Owner.GetType().Name; 125RibbonToolTip toolTip = ((RibbonMenuButton)Owner).ToolTip as RibbonToolTip; 283return (RibbonMenuButton)Owner;
Microsoft\Windows\Automation\Peers\RibbonMenuItemAutomationPeer.cs (3)
50string accessKey = ((RibbonMenuItem)Owner).KeyTip; 63return Owner.GetType().Name; 74RibbonToolTip toolTip = ((RibbonMenuItem)Owner).ToolTip as RibbonToolTip;
Microsoft\Windows\Automation\Peers\RibbonQuickAccessToolBarAutomationPeer.cs (2)
78return Owner.GetType().Name; 99get { return (RibbonQuickAccessToolBar)Owner; }
Microsoft\Windows\Automation\Peers\RibbonRadioButtonAutomationPeer.cs (3)
48string accessKey = ((RibbonRadioButton)Owner).KeyTip; 72name = ((RibbonRadioButton)Owner).Label; 86RibbonToolTip toolTip = ((RibbonRadioButton)Owner).ToolTip as RibbonToolTip;
Microsoft\Windows\Automation\Peers\RibbonSeparatorAutomationPeer.cs (2)
41return Owner.GetType().Name; 52name = ((RibbonSeparator)Owner).Label;
Microsoft\Windows\Automation\Peers\RibbonSplitButtonAutomationPeer.cs (1)
157return (RibbonSplitButton)Owner;
Microsoft\Windows\Automation\Peers\RibbonTabAutomationPeer.cs (2)
62return Owner.GetType().Name; 117return (RibbonTab)Owner;
Microsoft\Windows\Automation\Peers\RibbonTabDataAutomationPeer.cs (1)
165Selector parentSelector = (Selector)(ItemsControlAutomationPeer.Owner);
Microsoft\Windows\Automation\Peers\RibbonTabHeaderAutomationPeer.cs (1)
39return Owner.GetType().Name;
Microsoft\Windows\Automation\Peers\RibbonTextBoxAutomationPeer.cs (6)
53string accessKey = ((RibbonTextBox)Owner).KeyTip; 78name = ((RibbonTextBox)Owner).Label; 92RibbonToolTip toolTip = ((RibbonTextBox)Owner).ToolTip as RibbonToolTip; 110RoutedUICommand uiCommand = ((RibbonTextBox)Owner).Command as RoutedUICommand; 140RibbonTextBox rtb = (RibbonTextBox)Owner; 149RibbonTextBox textBox = (RibbonTextBox)Owner;
Microsoft\Windows\Automation\Peers\RibbonTitleAutomationPeer.cs (2)
46return Owner.GetType().Name; 51ContentPresenter cp = Owner as ContentPresenter;
Microsoft\Windows\Automation\Peers\RibbonToggleButtonAutomationPeer.cs (3)
48string accessKey = ((RibbonToggleButton)Owner).KeyTip; 73name = ((RibbonToggleButton)Owner).Label; 87RibbonToolTip toolTip = ((RibbonToggleButton)Owner).ToolTip as RibbonToolTip;
Microsoft\Windows\Automation\Peers\RibbonToolTipAutomationPeer.cs (1)
59name = ((RibbonToolTip)Owner).Title;
Microsoft\Windows\Automation\Peers\RibbonTwoLineTextAutomationPeer.cs (3)
43return Owner.GetType().Name; 54RibbonTwoLineText tlt = (RibbonTwoLineText)Owner; 73name = ((RibbonTwoLineText)Owner).Text;
WindowsFormsIntegration (1)
System\Windows\Automation\Peers\WindowsFormsHostAutomationPeer.cs (1)
39WindowsFormsHost wfh = (WindowsFormsHost)Owner;