5 references to IsInDesignMode
System.Windows.Forms (5)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (2)
2105
if (dropDown?.OwnerItem is not null && dropDown.OwnerItem.
IsInDesignMode
)
2137
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)
1356
if (OwnerItem is not null && OwnerItem.
IsInDesignMode
)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItem.cs (2)
275
if (DropDown.AutoClose || !
IsInDesignMode
|| (
IsInDesignMode
&& !IsOnDropDown))