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)
1310if (!IsDropDown && !ToolStripManager.ModalMenuFilter.InMenuMode) 1405if (!IsDropDown && !IsDisposed && !Properties.TryGetValue(s_propToolStripPanelCell, out toolStripPanelCell)) 1493if (IsDropDown) 1764if (nextItem is ToolStripMenuItem tsNextItem && !IsDropDown) 2468if (!IsDropDown && dismissingItem.IsOnOverflow) 2682if (!IsDropDown && ToolStripManager.ModalMenuFilter.InMenuMode) 2714if (!IsDropDown) 3053if (IsDropDown || Orientation != Orientation.Horizontal) 3296if (!IsDropDown) 3319if (!IsDropDown && (!(item is ToolStripDropDownItem))) 3509if (!IsDropDown && item.Owner == this) 3973if (!IsDropDown) 4341bool boundsCheck = !IsDropDown; 4405if (!TabStop && !IsDropDown) 4606if (!IsDropDown && !IsInDesignMode) 4629if (!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)
1260if (!OwnerToolStrip.IsDropDown) 2036if ((start is null) || (!start.IsDropDown))
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (3)
1227return ParentInternal.IsDropDown; 1229else if (Owner is not null && Owner.IsDropDown) 3054if (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)
272if (Control.FromHandle(m.HWnd) is ToolStrip toolStrip && !toolStrip.IsDropDown) 408if (toolStrip.IsDropDown) 442if (!currentActiveToolStrip.IsDropDown) 446else if (toolStrip.IsDropDown 472if (!_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);