4 references to GetAutoSizeMode
System.Windows.Forms (4)
winforms\Managed\System\WinForms\Control.cs (1)
1011return CommonProperties.GetAutoSizeMode(this);
winforms\Managed\System\WinForms\Layout\DockAndAnchorLayout.cs (3)
51if (CommonProperties.GetAutoSizeMode(element) == AutoSizeMode.GrowAndShrink) { 78Debug.Assert((CommonProperties.GetAutoSizeMode(element) == AutoSizeMode.GrowAndShrink || newSize.Height >= oldBounds.Height && newSize.Width >= oldBounds.Width), 93Debug.Assert((CommonProperties.GetAutoSizeMode(element) == AutoSizeMode.GrowAndShrink || newBounds.Contains(oldBounds)), "How did we resize in such a way we no longer contain our old bounds?");