6 references to AnchorLayoutV2
System.Windows.Forms (6)
System\Windows\Forms\Control.cs (3)
4298
_forceAnchorCalculations = AppContextSwitches.
AnchorLayoutV2
; // Parent has changed. AnchorsInfo should be recalculated.
10052
_forceAnchorCalculations = AppContextSwitches.
AnchorLayoutV2
;
10100
_forceAnchorCalculations = AppContextSwitches.
AnchorLayoutV2
;
System\Windows\Forms\Layout\DefaultLayout.cs (3)
346
return AppContextSwitches.
AnchorLayoutV2
&& element is Control;
824
/// Developers may opt-out of this new behavior using switch <see cref="AppContextSwitches.
AnchorLayoutV2
"/>.
833
Debug.Assert(AppContextSwitches.
AnchorLayoutV2
, $"AnchorLayoutV2 should be called only when {AppContextSwitches.AnchorLayoutV2SwitchName} is enabled.");