3 writes to _parent
UIAutomationClientSideProviders (3)
MS\Internal\AutomationProxies\ProxySimple.cs (1)
66_parent = parent;
MS\Internal\AutomationProxies\WindowsMenu.cs (2)
80_parent = GetSystemPopupParent(); 95_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)
69_fSubTree = (_parent != null); 181return _parent; 450System.Diagnostics.Debug.Assert(_parent != null, "Navigate: Leaf element does not have parent"); 461return _parent.GetNextSibling(this); 467return _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)
722if (((WindowsListBox)_parent).IsParentedByCombo()) 724WindowsComboBox cb = (WindowsComboBox)_parent._parent; 810if (((IExpandCollapseProvider)_listBox._parent).ExpandCollapseState == ExpandCollapseState.Collapsed) 812((IExpandCollapseProvider)_listBox._parent).Expand(); 860if (((IExpandCollapseProvider)_listBox._parent).ExpandCollapseState == ExpandCollapseState.Collapsed) 862((IExpandCollapseProvider)_listBox._parent).Expand(); 920System.Diagnostics.Debug.Assert (_parent is WindowsListBox, "Invalid Parent for a Listbox Item"); 921return _parent; 1126if (!((WindowsListBox)_parent).IsParentedByCombo()) 1164ProxyFragment combo = (WindowsComboBox)_parent._parent;
MS\Internal\AutomationProxies\WindowsListViewItem.cs (4)
112WindowsListViewGroup windowsListViewGroup = _parent as WindowsListViewGroup; 499ProxyFragment parent = _parent; 504parent = parent._parent; 649return _parent;
MS\Internal\AutomationProxies\WindowsListViewSubItem.cs (2)
312return _parent._parent;
MS\Internal\AutomationProxies\WindowsMenu.cs (12)
87_expandedMenus[hwnd] = new MenuParentInfo(_parent._hwnd, _parent._item, ((MenuItem)_parent)._menuType); 101_expandedMenus[hwnd] = new MenuParentInfo(_parent._hwnd, _parent._item, ((MenuItem)_parent)._menuType); 378if (_parent != null && _type == MenuType.Submenu) 380return _parent.LocalizedName; 1530MenuType type = ((WindowsMenu)_parent)._type; 2667return new MenuItem(_hwnd, _parent, _item - 1, _hmenu, _menuType); 2682return new MenuItem(_hwnd, _parent, nextItem, _hmenu, _menuType); 2718if (new MenuItem (_hwnd, this._parent, i, _hmenu, _menuType).HotKey == chHotKey)
MS\Internal\AutomationProxies\WindowsScrollBar.cs (5)
163if ((Environment.OSVersion.Version.Major < 6) && (Misc.IsLayoutRTL(_parent._hwnd))) 166Rect rcParent = _parent.BoundingRectangle; 200if (_parent != null) 587if ((Environment.OSVersion.Version.Major < 6) && (_sbFlag == NativeMethods.SB_HORZ) && (Misc.IsControlRTL(_parent._hwnd))) 748return _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)
512return _parent; 725return _parent;
MS\Internal\AutomationProxies\WindowsSysHeader.cs (2)
471WindowsSysHeader parent = _parent as WindowsSysHeader; 719WindowsSysHeader parent = _parent as WindowsSysHeader;
MS\Internal\AutomationProxies\WindowsTab.cs (4)
1004WindowsTab tab = (WindowsTab)_parent; 1197System.Diagnostics.Debug.Assert(_parent is WindowsTab, "Invalid Parent for a Tab Item"); 1198return _parent; 1214WindowsTab parent = (WindowsTab)_parent;
MS\Internal\AutomationProxies\WindowsToolbar.cs (1)
504WindowsToolbar toolbar = (WindowsToolbar)_parent;
MS\Internal\AutomationProxies\WindowsTreeView.cs (3)
1059for (ProxyFragment topLevelParent = _parent; ; topLevelParent = topLevelParent._parent) 1061if (topLevelParent._parent == null)
MS\Internal\AutomationProxies\WindowsUpDown.cs (1)
97return new SpinButtonItem(_hwnd, IsSpinnerElement()? _parent : this, (int)item);
MS\Internal\AutomationProxies\WinFormsSpinner.cs (1)
314return new WinformsSpinnerEdit(_hwnd, _elEdit._hwnd, _elUpDown._hwnd, _parent, _item);