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