5 references to IsInDesignMode
System.Windows.Forms (5)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (2)
2103
if (dropDown?.OwnerItem is not null && dropDown.OwnerItem.
IsInDesignMode
)
2135
if (this is ToolStripDropDown dropDown && dropDown.OwnerItem is not null && (dropDown.OwnerItem.
IsInDesignMode
|| (dropDown.OwnerItem.Owner is not null && dropDown.OwnerItem.Owner.IsInDesignMode)))
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
1353
if (OwnerItem is not null && OwnerItem.
IsInDesignMode
)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItem.cs (2)
275
if (DropDown.AutoClose || !
IsInDesignMode
|| (
IsInDesignMode
&& !IsOnDropDown))