15 references to MaxSize
System.Windows.Forms (15)
winforms\Managed\System\WinForms\ButtonInternal\ButtonPopupAdapter.cs (2)
150Debug.Assert(layout.GetPreferredSizeCore(LayoutUtils.MaxSize) 151== PaintPopupLayout(e, /* up = */ true, 2).GetPreferredSizeCore(LayoutUtils.MaxSize),
winforms\Managed\System\WinForms\ButtonInternal\ButtonStandardAdapter.cs (2)
225Debug.Assert(layout.GetPreferredSizeCore(LayoutUtils.MaxSize) == PaintLayout(e, /* up = */ true).GetPreferredSizeCore(LayoutUtils.MaxSize),
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxPopupAdapter.cs (2)
109Debug.Assert(layout.GetPreferredSizeCore(LayoutUtils.MaxSize) 110== PaintPopupLayout(e, /* up = */ false).GetPreferredSizeCore(LayoutUtils.MaxSize),
winforms\Managed\System\WinForms\Control.cs (2)
2795if(!cachedSize.IsEmpty && (proposedSize == LayoutUtils.MaxSize)) { 2830if(GetState2(STATE2_USEPREFERREDSIZECACHE) && proposedSize == LayoutUtils.MaxSize) {
winforms\Managed\System\WinForms\Layout\DockAndAnchorLayout.cs (1)
39Size proposedConstraints = LayoutUtils.MaxSize;
winforms\Managed\System\WinForms\Layout\LayoutUtils.cs (1)
619unconstrainedPreferredSize = TextRenderer.MeasureText(text, font, LayoutUtils.MaxSize, flags);
winforms\Managed\System\WinForms\ToolStripGrip.cs (2)
25private static Size DragSize = LayoutUtils.MaxSize; 159if (DragSize == LayoutUtils.MaxSize) {
winforms\Managed\System\WinForms\ToolStripPanelCell.cs (3)
28private Size maxSize = LayoutUtils.MaxSize; 159maxSize=LayoutUtils.MaxSize; 189maxSize=LayoutUtils.MaxSize;