36 references to IsDropDown
System.Windows.Forms (31)
System\Windows\Forms\Controls\Menus\MenuTimer.cs (1)
147if (toolStrip.IsDropDown && toolStrip.ActiveDropDowns.Count > 0)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (16)
1308if (!IsDropDown && !ToolStripManager.ModalMenuFilter.InMenuMode) 1403if (!IsDropDown && !IsDisposed && !Properties.TryGetValue(s_propToolStripPanelCell, out toolStripPanelCell)) 1491if (IsDropDown) 1762if (nextItem is ToolStripMenuItem tsNextItem && !IsDropDown) 2466if (!IsDropDown && dismissingItem.IsOnOverflow) 2680if (!IsDropDown && ToolStripManager.ModalMenuFilter.InMenuMode) 2712if (!IsDropDown) 3051if (IsDropDown || Orientation != Orientation.Horizontal) 3294if (!IsDropDown) 3317if (!IsDropDown && (!(item is ToolStripDropDownItem))) 3507if (!IsDropDown && item.Owner == this) 3971if (!IsDropDown) 4341bool boundsCheck = !IsDropDown; 4405if (!TabStop && !IsDropDown) 4601if (!IsDropDown && !IsInDesignMode) 4624if (!IsDropDown && !TabStop)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.RestoreFocusMessageFilter.cs (1)
19if (_ownerToolStrip.Disposing || _ownerToolStrip.IsDisposed || _ownerToolStrip.IsDropDown)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (2)
1257if (!OwnerToolStrip.IsDropDown) 2033if ((start is null) || (!start.IsDropDown))
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (3)
1227return ParentInternal.IsDropDown; 1229else if (Owner is not null && Owner.IsDropDown) 3046if (ParentInternal is not null && !ParentInternal.IsDropDown && Enabled)
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (2)
196!toolStrip.IsDropDown && 807if (toolStrip.IsDropDown)
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.ModalMenuFilter.cs (5)
270if (Control.FromHandle(m.HWnd) is ToolStrip toolStrip && !toolStrip.IsDropDown) 406if (toolStrip.IsDropDown) 440if (!currentActiveToolStrip.IsDropDown) 444else if (toolStrip.IsDropDown 470if (!_caretHidden && toolStrip.IsDropDown && InMenuMode)
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemRenderer.cs (1)
208else if (toolStrip.IsDropDown)
System.Windows.Forms.Tests (5)
System\Windows\Forms\MenuStripTests.cs (1)
97Assert.False(control.IsDropDown);
System\Windows\Forms\StatusStripTests.cs (1)
97Assert.False(control.IsDropDown);
System\Windows\Forms\ToolStripDropDownTests.cs (1)
103Assert.True(control.IsDropDown);
System\Windows\Forms\ToolStripTests.cs (2)
115Assert.False(control.IsDropDown); 269Assert.False(control.IsDropDown);