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)
27
if (
_owningToolStripMenuItem
.Enabled)
37
if (
_owningToolStripMenuItem
.Checked)
52
UIA_PROPERTY_ID.UIA_AcceleratorKeyPropertyId =>
_owningToolStripMenuItem
.GetShortcutText() is { } shortcutText ? (VARIANT)shortcutText : VARIANT.Empty,
63
ToolStripItemCollection? displayedItems =
_owningToolStripMenuItem
.ParentInternal?.DisplayedItems;
70
int index = displayedItems.IndexOf(
_owningToolStripMenuItem
);
79
if (item ==
_owningToolStripMenuItem
)
98
ToolStripItemCollection? displayedItems =
_owningToolStripMenuItem
.ParentInternal?.DisplayedItems;
120
?? (
_owningToolStripMenuItem
.CheckOnClick ? SR.AccessibleActionCheck : base.DefaultAction);
127
UIA_PATTERN_ID.UIA_TogglePatternId =>
_owningToolStripMenuItem
.CheckOnClick ||
_owningToolStripMenuItem
.Checked,
135
if (
_owningToolStripMenuItem
.CheckOnClick)
137
_owningToolStripMenuItem
.Checked = !
_owningToolStripMenuItem
.Checked;
142
_owningToolStripMenuItem
.CheckState switch