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)
346return AppContextSwitches.AnchorLayoutV2 && element is Control; 824/// Developers may opt-out of this new behavior using switch <see cref="AppContextSwitches.AnchorLayoutV2"/>. 833Debug.Assert(AppContextSwitches.AnchorLayoutV2, $"AnchorLayoutV2 should be called only when {AppContextSwitches.AnchorLayoutV2SwitchName} is enabled.");