8 references to s_invalidSize
System.Windows.Forms (8)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemInternalLayout.ToolStripItemLayoutOptions.cs (3)
16
private Size _cachedSize = LayoutUtils.
s_invalidSize
;
17
private Size _cachedProposedConstraints = LayoutUtils.
s_invalidSize
;
22
if (_cachedSize != LayoutUtils.
s_invalidSize
System\Windows\Forms\Layout\CommonProperties.cs (2)
347
element.Properties.AddValue(s_preferredSizeCacheProperty, LayoutUtils.
s_invalidSize
);
377
if (element.Properties.TryGetValue(s_preferredSizeCacheProperty, out Size size) && (size != LayoutUtils.
s_invalidSize
))
System\Windows\Forms\Layout\LayoutUtils.MeasureTextCache.cs (3)
22
private Size _unconstrainedPreferredSize =
s_invalidSize
;
90
_unconstrainedPreferredSize =
s_invalidSize
;
110
if (_unconstrainedPreferredSize ==
s_invalidSize
)