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)
52
if (patternId == UIA_PATTERN_ID.UIA_ExpandCollapsePatternId &&
_owner
.HasDropDownItems)
66
_owner
.Owner is ToolStripDropDown toolStripDropDown
76
if (
_owner
.DropDown.Visible)
78
_owner
.DropDown.Close();
86
return
_owner
.DropDown.Visible ? ExpandCollapseState.ExpandCollapseState_Expanded : ExpandCollapseState.ExpandCollapseState_Collapsed;
92
if (!
_owner
.HasDropDownItems)
97
return
_owner
.DropDown.AccessibilityObject.GetChild(index);
102
if (!
_owner
.HasDropDownItems)
115
if (
_owner
.DropDown.LayoutRequired)
117
LayoutTransaction.DoLayout(
_owner
.DropDown,
_owner
.DropDown, PropertyNames.Items);
120
return
_owner
.DropDown.AccessibilityObject.GetChildCount();
125
if (
_owner
.DropDownItems is null)
130
for (int i = 0; i <
_owner
.DropDownItems.Count; i++)
132
if (
_owner
.DropDownItems[i].Available && child.Owner ==
_owner
.DropDownItems[i])
147
if (
_owner
.DropDownItems is null)
153
for (int i = 0; i <
_owner
.DropDownItems.Count; i++)
155
if (
_owner
.DropDownItems[i].Available)
166
if (
_owner
.DropDown.AccessibilityObject is ToolStrip.ToolStripAccessibleObject toolStripAccessibleObject)
180
if (
_owner
.Owner is not ToolStripDropDown dropDown)
185
int index = dropDown.DisplayedItems.IndexOf(
_owner
);
211
return
_owner
.DropDown.Visible
212
?
_owner
.DropDown.AccessibilityObject