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