1 write to _selectionMenuItem
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\BaseContextMenuStrip.cs (1)
118
_selectionMenuItem
= new ToolStripMenuItem();
11 references to _selectionMenuItem
System.Windows.Forms.Design (11)
System\Windows\Forms\Design\BaseContextMenuStrip.cs (11)
72
if (
_selectionMenuItem
is not null)
74
index = Items.IndexOf(
_selectionMenuItem
);
75
Groups[StandardGroups.Selection].Items.Remove(
_selectionMenuItem
);
76
Items.Remove(
_selectionMenuItem
);
122
_selectionMenuItem
.DropDown.Renderer = (ToolStripProfessionalRenderer)uis.Styles["VsRenderer"]!;
125
_selectionMenuItem
.DropDown.Font = (Font)uis.Styles["DialogFont"]!;
129
_selectionMenuItem
.DropDown.ForeColor = color;
133
_selectionMenuItem
.Text = SR.ContextMenuSelect;
137
_selectionMenuItem
.DropDownItems.Add(selectListItem);
140
Groups[StandardGroups.Selection].Items.Add(
_selectionMenuItem
);
145
Items.Insert(index,
_selectionMenuItem
);