13 references to IsInDesignMode
System.Windows.Forms (13)
System\Windows\Forms\ContextMenuStrip.cs (2)
145
if (IsHandleCreated && !
IsInDesignMode
)
162
if (IsHandleCreated && !
IsInDesignMode
)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (2)
2135
if (this is ToolStripDropDown dropDown && dropDown.OwnerItem is not null && (dropDown.OwnerItem.IsInDesignMode || (dropDown.OwnerItem.Owner is not null && dropDown.OwnerItem.Owner.
IsInDesignMode
)))
4601
if (!IsDropDown && !
IsInDesignMode
)
System\Windows\Forms\Controls\ToolStrips\ToolStripGrip.cs (3)
185
if ((ParentInternal is not null) && (ToolStripPanelRow is not null) && (!ParentInternal.
IsInDesignMode
))
200
if (_oldCursor is not null && ParentInternal is not null && !ParentInternal.
IsInDesignMode
)
221
if (ParentInternal is not null && !ParentInternal.
IsInDesignMode
)
System\Windows\Forms\Controls\ToolStrips\ToolStripOverflow.cs (1)
101
if (ParentToolStrip is not null && ParentToolStrip.
IsInDesignMode
)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (1)
892
if (toolStripToDrag.
IsInDesignMode
)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelCell.cs (2)
80
get { return (_wrappedToolStrip is not null && _wrappedToolStrip.
IsInDesignMode
); }
387
&& !_wrappedToolStrip.
IsInDesignMode
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.HorizontalRowManager.cs (2)
531
if (Row.Cells.Count > 0 || toolStripToDrag.
IsInDesignMode
)
535
if (cell is null && toolStripToDrag.
IsInDesignMode
)