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