1 write to _owner
System.Windows.Forms (1)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItemAccessibleObject.cs (1)
16_owner = item;
24 references to _owner
System.Windows.Forms (24)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItemAccessibleObject.cs (24)
52if (patternId == UIA_PATTERN_ID.UIA_ExpandCollapsePatternId && _owner.HasDropDownItems) 66_owner.Owner is ToolStripDropDown toolStripDropDown 76if (_owner.DropDown.Visible) 78_owner.DropDown.Close(); 86return _owner.DropDown.Visible ? ExpandCollapseState.ExpandCollapseState_Expanded : ExpandCollapseState.ExpandCollapseState_Collapsed; 92if (!_owner.HasDropDownItems) 97return _owner.DropDown.AccessibilityObject.GetChild(index); 102if (!_owner.HasDropDownItems) 115if (_owner.DropDown.LayoutRequired) 117LayoutTransaction.DoLayout(_owner.DropDown, _owner.DropDown, PropertyNames.Items); 120return _owner.DropDown.AccessibilityObject.GetChildCount(); 125if (_owner.DropDownItems is null) 130for (int i = 0; i < _owner.DropDownItems.Count; i++) 132if (_owner.DropDownItems[i].Available && child.Owner == _owner.DropDownItems[i]) 147if (_owner.DropDownItems is null) 153for (int i = 0; i < _owner.DropDownItems.Count; i++) 155if (_owner.DropDownItems[i].Available) 166if (_owner.DropDown.AccessibilityObject is ToolStrip.ToolStripAccessibleObject toolStripAccessibleObject) 180if (_owner.Owner is not ToolStripDropDown dropDown) 185int index = dropDown.DisplayedItems.IndexOf(_owner); 211return _owner.DropDown.Visible 212? _owner.DropDown.AccessibilityObject