3 writes to _parent
UIAutomationClientSideProviders (3)
MS\Internal\AutomationProxies\ProxySimple.cs (1)
62_parent = parent;
MS\Internal\AutomationProxies\WindowsMenu.cs (2)
77_parent = GetSystemPopupParent(); 92_parent = GetHierarchyParent(hwnd);
64 references to _parent
UIAutomationClientSideProviders (64)
MS\Internal\AutomationProxies\ProxyFragment.cs (2)
146return _fSubTree ? _parent.GetNextSibling (this) : null; 152return _fSubTree ? _parent.GetPreviousSibling (this) : null;
MS\Internal\AutomationProxies\ProxySimple.cs (5)
65_fSubTree = (_parent != null); 177return _parent; 444System.Diagnostics.Debug.Assert(_parent != null, "Navigate: Leaf element does not have parent"); 455return _parent.GetNextSibling(this); 461return _parent.GetPreviousSibling(this);
MS\Internal\AutomationProxies\WindowsEditBox.cs (3)
220return new WindowsSpinner(hwndUpDown, _hwnd, _parent, _item); 231return new WindowsSpinner(hwndUpDown, _hwnd, _parent, _item); 242return new WindowsSpinner(hwndUpDown, _hwnd, _parent, _item);
MS\Internal\AutomationProxies\WindowsListBox.cs (12)
713if (((WindowsListBox)_parent).IsParentedByCombo()) 715WindowsComboBox cb = (WindowsComboBox)_parent._parent; 801if (((IExpandCollapseProvider)_listBox._parent).ExpandCollapseState == ExpandCollapseState.Collapsed) 803((IExpandCollapseProvider)_listBox._parent).Expand(); 851if (((IExpandCollapseProvider)_listBox._parent).ExpandCollapseState == ExpandCollapseState.Collapsed) 853((IExpandCollapseProvider)_listBox._parent).Expand(); 911System.Diagnostics.Debug.Assert (_parent is WindowsListBox, "Invalid Parent for a Listbox Item"); 912return _parent; 1117if (!((WindowsListBox)_parent).IsParentedByCombo()) 1155ProxyFragment combo = (WindowsComboBox)_parent._parent;
MS\Internal\AutomationProxies\WindowsListViewItem.cs (4)
108WindowsListViewGroup windowsListViewGroup = _parent as WindowsListViewGroup; 497ProxyFragment parent = _parent; 502parent = parent._parent; 647return _parent;
MS\Internal\AutomationProxies\WindowsListViewSubItem.cs (2)
312return _parent._parent;
MS\Internal\AutomationProxies\WindowsMenu.cs (12)
84_expandedMenus[hwnd] = new MenuParentInfo(_parent._hwnd, _parent._item, ((MenuItem)_parent)._menuType); 98_expandedMenus[hwnd] = new MenuParentInfo(_parent._hwnd, _parent._item, ((MenuItem)_parent)._menuType); 375if (_parent != null && _type == MenuType.Submenu) 377return _parent.LocalizedName; 1525MenuType type = ((WindowsMenu)_parent)._type; 2662return new MenuItem(_hwnd, _parent, _item - 1, _hmenu, _menuType); 2677return new MenuItem(_hwnd, _parent, nextItem, _hmenu, _menuType); 2713if (new MenuItem (_hwnd, this._parent, i, _hmenu, _menuType).HotKey == chHotKey)
MS\Internal\AutomationProxies\WindowsScrollBar.cs (5)
160if ((Environment.OSVersion.Version.Major < 6) && (Misc.IsLayoutRTL(_parent._hwnd))) 163Rect rcParent = _parent.BoundingRectangle; 197if (_parent != null) 586if ((Environment.OSVersion.Version.Major < 6) && (_sbFlag == NativeMethods.SB_HORZ) && (Misc.IsControlRTL(_parent._hwnd))) 749return _parent == null;
MS\Internal\AutomationProxies\WindowsScrollBarBits.cs (5)
116return _parent.GetElementProperty(idProp); 127return GetBoundingRectangle (_hwnd, _parent, (WindowsScrollBar.ScrollBarItem) _item, _sbFlag); 231if (parent != null && parent._parent != null) 236if ((Environment.OSVersion.Version.Major < 6) && (Misc.IsLayoutRTL(parent._parent._hwnd))) 239Rect rcParent = parent._parent.BoundingRectangle;
MS\Internal\AutomationProxies\WindowsStatusBar.cs (2)
513return _parent; 726return _parent;
MS\Internal\AutomationProxies\WindowsSysHeader.cs (2)
469WindowsSysHeader parent = _parent as WindowsSysHeader; 714WindowsSysHeader parent = _parent as WindowsSysHeader;
MS\Internal\AutomationProxies\WindowsTab.cs (4)
1003WindowsTab tab = (WindowsTab)_parent; 1196System.Diagnostics.Debug.Assert(_parent is WindowsTab, "Invalid Parent for a Tab Item"); 1197return _parent; 1213WindowsTab parent = (WindowsTab)_parent;
MS\Internal\AutomationProxies\WindowsToolbar.cs (1)
501WindowsToolbar toolbar = (WindowsToolbar)_parent;
MS\Internal\AutomationProxies\WindowsTreeView.cs (3)
1056for (ProxyFragment topLevelParent = _parent; ; topLevelParent = topLevelParent._parent) 1058if (topLevelParent._parent == null)
MS\Internal\AutomationProxies\WindowsUpDown.cs (1)
94return new SpinButtonItem(_hwnd, IsSpinnerElement()? _parent : this, (int)item);
MS\Internal\AutomationProxies\WinFormsSpinner.cs (1)
308return new WinformsSpinnerEdit(_hwnd, _elEdit._hwnd, _elUpDown._hwnd, _parent, _item);