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