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