16 references to s_maxSize
System.Windows.Forms (16)
System\Windows\Forms\Control.cs (2)
2068
if (!cachedSize.IsEmpty && (proposedSize == LayoutUtils.
s_maxSize
))
2091
if (GetExtendedState(ExtendedStates.UserPreferredSizeCache) && proposedSize == LayoutUtils.
s_maxSize
)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonPopupAdapter.cs (2)
143
layout.GetPreferredSizeCore(LayoutUtils.
s_maxSize
) == PaintPopupLayout(up: true, 2).GetPreferredSizeCore(LayoutUtils.
s_maxSize
),
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonStandardAdapter.cs (2)
211
layout.GetPreferredSizeCore(LayoutUtils.
s_maxSize
) == PaintLayout(up: true).GetPreferredSizeCore(LayoutUtils.
s_maxSize
),
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxPopupAdapter.cs (2)
124
layout.GetPreferredSizeCore(LayoutUtils.
s_maxSize
) == PaintPopupLayout(show3D: false).GetPreferredSizeCore(LayoutUtils.
s_maxSize
),
System\Windows\Forms\Controls\ToolStrips\ToolStripGrip.cs (2)
15
private static Size s_dragSize = LayoutUtils.
s_maxSize
;
135
if (s_dragSize == LayoutUtils.
s_maxSize
)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelCell.cs (3)
20
private 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)
35
Size proposedConstraints = LayoutUtils.
s_maxSize
;
System\Windows\Forms\Layout\LayoutUtils.MeasureTextCache.cs (1)
116
_unconstrainedPreferredSize = TextRenderer.MeasureText(text, font,
s_maxSize
, flags);