16 references to s_maxSize
System.Windows.Forms (16)
System\Windows\Forms\Control.cs (2)
2068if (!cachedSize.IsEmpty && (proposedSize == LayoutUtils.s_maxSize)) 2091if (GetExtendedState(ExtendedStates.UserPreferredSizeCache) && proposedSize == LayoutUtils.s_maxSize)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonPopupAdapter.cs (2)
143layout.GetPreferredSizeCore(LayoutUtils.s_maxSize) == PaintPopupLayout(up: true, 2).GetPreferredSizeCore(LayoutUtils.s_maxSize),
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonStandardAdapter.cs (2)
211layout.GetPreferredSizeCore(LayoutUtils.s_maxSize) == PaintLayout(up: true).GetPreferredSizeCore(LayoutUtils.s_maxSize),
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxPopupAdapter.cs (2)
124layout.GetPreferredSizeCore(LayoutUtils.s_maxSize) == PaintPopupLayout(show3D: false).GetPreferredSizeCore(LayoutUtils.s_maxSize),
System\Windows\Forms\Controls\ToolStrips\ToolStripGrip.cs (2)
15private static Size s_dragSize = LayoutUtils.s_maxSize; 135if (s_dragSize == LayoutUtils.s_maxSize)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelCell.cs (3)
20private Size _maxSize = LayoutUtils.s_maxSize; 172_maxSize = LayoutUtils.s_maxSize; 205_maxSize = LayoutUtils.s_maxSize;
System\Windows\Forms\Layout\CommonProperties.cs (1)
373/// value of <see cref="LayoutUtils.s_maxSize"/> (or <see cref="Size.Empty"/> too).
System\Windows\Forms\Layout\DefaultLayout.cs (1)
35Size proposedConstraints = LayoutUtils.s_maxSize;
System\Windows\Forms\Layout\LayoutUtils.MeasureTextCache.cs (1)
116_unconstrainedPreferredSize = TextRenderer.MeasureText(text, font, s_maxSize, flags);