3 writes to _parent
UIAutomationClientSideProviders (3)
MS\Internal\AutomationProxies\ProxySimple.cs (1)
70_parent = parent;
MS\Internal\AutomationProxies\WindowsMenu.cs (2)
82_parent = GetSystemPopupParent(); 97_parent = GetHierarchyParent(hwnd);
64 references to _parent
UIAutomationClientSideProviders (64)
MS\Internal\AutomationProxies\ProxyFragment.cs (2)
149return _fSubTree ? _parent.GetNextSibling (this) : null; 155return _fSubTree ? _parent.GetPreviousSibling (this) : null;
MS\Internal\AutomationProxies\ProxySimple.cs (5)
73_fSubTree = (_parent != null); 185return _parent; 454System.Diagnostics.Debug.Assert(_parent != null, "Navigate: Leaf element does not have parent"); 465return _parent.GetNextSibling(this); 471return _parent.GetPreviousSibling(this);
MS\Internal\AutomationProxies\WindowsEditBox.cs (3)
224return new WindowsSpinner(hwndUpDown, _hwnd, _parent, _item); 235return new WindowsSpinner(hwndUpDown, _hwnd, _parent, _item); 246return new WindowsSpinner(hwndUpDown, _hwnd, _parent, _item);
MS\Internal\AutomationProxies\WindowsListBox.cs (12)
726if (((WindowsListBox)_parent).IsParentedByCombo()) 728WindowsComboBox cb = (WindowsComboBox)_parent._parent; 814if (((IExpandCollapseProvider)_listBox._parent).ExpandCollapseState == ExpandCollapseState.Collapsed) 816((IExpandCollapseProvider)_listBox._parent).Expand(); 864if (((IExpandCollapseProvider)_listBox._parent).ExpandCollapseState == ExpandCollapseState.Collapsed) 866((IExpandCollapseProvider)_listBox._parent).Expand(); 924System.Diagnostics.Debug.Assert (_parent is WindowsListBox, "Invalid Parent for a Listbox Item"); 925return _parent; 1130if (!((WindowsListBox)_parent).IsParentedByCombo()) 1168ProxyFragment combo = (WindowsComboBox)_parent._parent;
MS\Internal\AutomationProxies\WindowsListViewItem.cs (4)
113WindowsListViewGroup windowsListViewGroup = _parent as WindowsListViewGroup; 500ProxyFragment parent = _parent; 505parent = parent._parent; 650return _parent;
MS\Internal\AutomationProxies\WindowsListViewSubItem.cs (2)
313return _parent._parent;
MS\Internal\AutomationProxies\WindowsMenu.cs (12)
89_expandedMenus[hwnd] = new MenuParentInfo(_parent._hwnd, _parent._item, ((MenuItem)_parent)._menuType); 103_expandedMenus[hwnd] = new MenuParentInfo(_parent._hwnd, _parent._item, ((MenuItem)_parent)._menuType); 380if (_parent != null && _type == MenuType.Submenu) 382return _parent.LocalizedName; 1532MenuType type = ((WindowsMenu)_parent)._type; 2669return new MenuItem(_hwnd, _parent, _item - 1, _hmenu, _menuType); 2684return new MenuItem(_hwnd, _parent, nextItem, _hmenu, _menuType); 2720if (new MenuItem (_hwnd, this._parent, i, _hmenu, _menuType).HotKey == chHotKey)
MS\Internal\AutomationProxies\WindowsScrollBar.cs (5)
166if ((Environment.OSVersion.Version.Major < 6) && (Misc.IsLayoutRTL(_parent._hwnd))) 169Rect rcParent = _parent.BoundingRectangle; 203if (_parent != null) 590if ((Environment.OSVersion.Version.Major < 6) && (_sbFlag == NativeMethods.SB_HORZ) && (Misc.IsControlRTL(_parent._hwnd))) 751return _parent == null;
MS\Internal\AutomationProxies\WindowsScrollBarBits.cs (5)
119return _parent.GetElementProperty(idProp); 130return GetBoundingRectangle (_hwnd, _parent, (WindowsScrollBar.ScrollBarItem) _item, _sbFlag); 234if (parent != null && parent._parent != null) 239if ((Environment.OSVersion.Version.Major < 6) && (Misc.IsLayoutRTL(parent._parent._hwnd))) 242Rect rcParent = parent._parent.BoundingRectangle;
MS\Internal\AutomationProxies\WindowsStatusBar.cs (2)
515return _parent; 728return _parent;
MS\Internal\AutomationProxies\WindowsSysHeader.cs (2)
475WindowsSysHeader parent = _parent as WindowsSysHeader; 723WindowsSysHeader parent = _parent as WindowsSysHeader;
MS\Internal\AutomationProxies\WindowsTab.cs (4)
1006WindowsTab tab = (WindowsTab)_parent; 1199System.Diagnostics.Debug.Assert(_parent is WindowsTab, "Invalid Parent for a Tab Item"); 1200return _parent; 1216WindowsTab parent = (WindowsTab)_parent;
MS\Internal\AutomationProxies\WindowsToolbar.cs (1)
507WindowsToolbar toolbar = (WindowsToolbar)_parent;
MS\Internal\AutomationProxies\WindowsTreeView.cs (3)
1061for (ProxyFragment topLevelParent = _parent; ; topLevelParent = topLevelParent._parent) 1063if (topLevelParent._parent == null)
MS\Internal\AutomationProxies\WindowsUpDown.cs (1)
101return new SpinButtonItem(_hwnd, IsSpinnerElement()? _parent : this, (int)item);
MS\Internal\AutomationProxies\WinFormsSpinner.cs (1)
316return new WinformsSpinnerEdit(_hwnd, _elEdit._hwnd, _elUpDown._hwnd, _parent, _item);