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