7 writes to LayoutSuspendCount
System.Windows.Forms (7)
System\Windows\Forms\Control.cs (6)
9252
LayoutSuspendCount
= 1;
9266
LayoutSuspendCount
= 0;
10294
LayoutSuspendCount
++;
10301
LayoutSuspendCount
--;
10305
LayoutSuspendCount
--;
11567
LayoutSuspendCount
++;
System\Windows\Forms\Control.SuspendMutation.cs (1)
110
LayoutSuspendCount
--;
12 references to LayoutSuspendCount
System.Windows.Forms (12)
System\Windows\Forms\Control.cs (7)
2497
internal bool IsLayoutSuspended =>
LayoutSuspendCount
> 0;
9234
if (
LayoutSuspendCount
> 0)
10290
if (
LayoutSuspendCount
> 0)
10292
if (
LayoutSuspendCount
== 1)
10306
if (
LayoutSuspendCount
== 0 && GetState(States.LayoutDeferred) && performLayout)
11568
if (
LayoutSuspendCount
== 1)
11573
Debug.Assert(
LayoutSuspendCount
> 0, "SuspendLayout: layoutSuspendCount overflowed.");
System\Windows\Forms\Control.SuspendMutation.cs (3)
100
byte layoutSuspendCount =
LayoutSuspendCount
;
108
if (
LayoutSuspendCount
== layoutSuspendCount &&
LayoutSuspendCount
> 0)
System\Windows\Forms\Layout\DefaultLayout.cs (2)
859
&& ((ancestorInDesignMode && parent.
LayoutSuspendCount
> 1)
860
|| (!ancestorInDesignMode && parent.
LayoutSuspendCount
!= 0)))