14 references to IsInDesignMode
System.Windows.Forms (14)
winforms\Managed\System\WinForms\ToolStrip.cs (4)
1293return topLevelToolStrip != null && topLevelToolStrip.IsInDesignMode; 2337if (dropDown.OwnerItem != null && (dropDown.OwnerItem.IsInDesignMode || (dropDown.OwnerItem.Owner != null && dropDown.OwnerItem.Owner.IsInDesignMode))) { 4727if (!IsDropDown && !IsInDesignMode) { 5119return AccessibilityImprovements.Level3 && !owner.IsInDesignMode && !owner.IsTopInDesignMode;
winforms\Managed\System\WinForms\ToolStripDropDownItem.cs (1)
808if (AccessibilityImprovements.Level3 && owner.Parent != null && (owner.Parent.IsInDesignMode || owner.Parent.IsTopInDesignMode)) {
winforms\Managed\System\WinForms\ToolStripGrip.cs (3)
200if ((ParentInternal != null) && (ToolStripPanelRow != null) && (!ParentInternal.IsInDesignMode)) { 216if (oldCursor != null && !ParentInternal.IsInDesignMode) { 233if (!ParentInternal.IsInDesignMode) {
winforms\Managed\System\WinForms\ToolStripOverflow.cs (1)
126if (ParentToolStrip != null && ParentToolStrip.IsInDesignMode) {
winforms\Managed\System\WinForms\ToolStripPanel.cs (1)
1082if (toolStripToDrag.IsInDesignMode) {
winforms\Managed\System\WinForms\ToolStripPanelCell.cs (2)
82get { return (_wrappedToolStrip != null && _wrappedToolStrip.IsInDesignMode); } 353&& !_wrappedToolStrip.IsInDesignMode
winforms\Managed\System\WinForms\ToolStripPanelRow.cs (2)
1402if (Row.Cells.Count >0 || toolStripToDrag.IsInDesignMode) { 1405if (cell == null && toolStripToDrag.IsInDesignMode) {