10 references to ActiveDropDowns
System.Windows.Forms (10)
System\Windows\Forms\Controls\Menus\MenuStrip.cs (1)
252
if (m.Msg == (int)PInvokeCore.WM_MOUSEACTIVATE && (
ActiveDropDowns
.Count == 0))
System\Windows\Forms\Controls\Menus\MenuTimer.cs (2)
147
if (toolStrip.IsDropDown && toolStrip.
ActiveDropDowns
.Count > 0)
149
ToolStripMenuItem? menuItem = toolStrip.
ActiveDropDowns
[0].OwnerItem as ToolStripMenuItem;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (7)
1072
if (
ActiveDropDowns
.Count == 0)
1604
OwnerToolStrip.
ActiveDropDowns
.Add(this);
1718
OwnerToolStrip?.
ActiveDropDowns
.Remove(this);
1719
ActiveDropDowns
.Clear();
1943
int count =
ActiveDropDowns
.Count;
1947
ActiveDropDowns
[0].Visible = false;
1951
List<ToolStripDropDown> dropDowns = new(
ActiveDropDowns
);