18 references to HasDropDown
System.Windows.Forms (4)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (3)
1969
if (CanOverflow && OverflowButton.
HasDropDown
)
1988
if (CanOverflow && OverflowButton.
HasDropDown
)
2010
return (_toolStripOverflowButton is null || !_toolStripOverflowButton.
HasDropDown
) ? null : _toolStripOverflowButton.DropDown as ToolStripOverflow;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItem.cs (1)
460
if (
HasDropDown
&& DropDown.IsAutoGenerated)
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (1)
996
if (MenuItem is not null && MenuItem.
HasDropDown
)
System.Windows.Forms.Tests (13)
System\Windows\Forms\ToolStripDropDownItemTests.cs (12)
57
Assert.False(item.
HasDropDown
);
146
Assert.False(item.
HasDropDown
);
245
Assert.False(item.
HasDropDown
);
306
Assert.Equal(dropDownItems is not null, item.
HasDropDown
);
343
Assert.True(item.
HasDropDown
);
353
Assert.True(item.
HasDropDown
);
399
Assert.True(item.
HasDropDown
);
419
Assert.True(item.
HasDropDown
);
439
Assert.True(item.
HasDropDown
);
456
Assert.True(item.
HasDropDown
);
468
Assert.False(item.
HasDropDown
);
484
Assert.True(item.
HasDropDown
);
System\Windows\Forms\ToolStripMenuItemTests.cs (1)
61
Assert.False(item.
HasDropDown
);