1 write to _owningToolStripMenuItem
System.Windows.Forms (1)
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.ToolStripMenuItemAccessibleObject.cs (1)
20_owningToolStripMenuItem = ownerItem;
14 references to _owningToolStripMenuItem
System.Windows.Forms (14)
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.ToolStripMenuItemAccessibleObject.cs (14)
27if (_owningToolStripMenuItem.Enabled) 37if (_owningToolStripMenuItem.Checked) 52UIA_PROPERTY_ID.UIA_AcceleratorKeyPropertyId => _owningToolStripMenuItem.GetShortcutText() is { } shortcutText ? (VARIANT)shortcutText : VARIANT.Empty, 63ToolStripItemCollection? displayedItems = _owningToolStripMenuItem.ParentInternal?.DisplayedItems; 70int index = displayedItems.IndexOf(_owningToolStripMenuItem); 79if (item == _owningToolStripMenuItem) 98ToolStripItemCollection? displayedItems = _owningToolStripMenuItem.ParentInternal?.DisplayedItems; 120?? (_owningToolStripMenuItem.CheckOnClick ? SR.AccessibleActionCheck : base.DefaultAction); 127UIA_PATTERN_ID.UIA_TogglePatternId => _owningToolStripMenuItem.CheckOnClick || _owningToolStripMenuItem.Checked, 135if (_owningToolStripMenuItem.CheckOnClick) 137_owningToolStripMenuItem.Checked = !_owningToolStripMenuItem.Checked; 142_owningToolStripMenuItem.CheckState switch