1 write to _ownerItem
System.Windows.Forms (1)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemAccessibleObject.cs (1)
27_ownerItem = ownerItem.OrThrowIfNull();
26 references to _ownerItem
System.Windows.Forms (26)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemAccessibleObject.cs (26)
34string? defaultAction = _ownerItem.AccessibleDefaultActionDescription; 47_ownerItem.AccessibleDescription is { } description ? description : base.Description; 49internal override bool CanGetDescriptionInternal => IsInternal && _ownerItem.AccessibleDescription is null; 76char mnemonic = WindowsFormsUtils.GetMnemonic(_ownerItem.Text, false); 77if (_ownerItem.IsOnDropDown) 101_ownerItem.GetHashCode() 110UIA_PROPERTY_ID.UIA_HasKeyboardFocusPropertyId => (VARIANT)_ownerItem.Selected, 111UIA_PROPERTY_ID.UIA_IsEnabledPropertyId => (VARIANT)_ownerItem.Enabled, 112UIA_PROPERTY_ID.UIA_IsKeyboardFocusablePropertyId => (VARIANT)_ownerItem.CanSelect, 113UIA_PROPERTY_ID.UIA_IsOffscreenPropertyId => (VARIANT)GetIsOffscreenPropertyValue(_ownerItem.Placement, Bounds), 123string? name = _ownerItem.AccessibleName; 132return WindowsFormsUtils.TextWithoutMnemonics(_ownerItem.Text)!; 137set => _ownerItem.AccessibleName = value; 144internal ToolStripItem Owner => _ownerItem; 150AccessibleRole role = _ownerItem.AccessibleRole; 164if (!_ownerItem.CanSelect) 169if (!_ownerItem.Enabled) 171if (_ownerItem.Selected && _ownerItem is ToolStripMenuItem) 178if (_ownerItem.Selected && _ownerItem is ToolStripMenuItem) 187if (_ownerItem.Selected || _ownerItem.Pressed) 192if (_ownerItem.Pressed) 330_ownerItem.RootToolStrip?.AccessibilityObject; 447ToolStrip? root = _ownerItem.RootToolStrip;