12 references to GetCachedBounds
System.Windows.Forms (12)
System\Windows\Forms\Layout\DefaultLayout.cs (12)
31
Rectangle bounds =
GetCachedBounds
(element);
80
Rectangle oldBounds =
GetCachedBounds
(element);
159
Rectangle bounds =
GetCachedBounds
(element);
294
Rectangle cachedBounds =
GetCachedBounds
(element);
390
Debug.Assert(element.Bounds ==
GetCachedBounds
(element), "Why do we have cachedBounds for a docked element?");
732
Rectangle cachedBounds =
GetCachedBounds
(element);
877
Rectangle elementBounds =
GetCachedBounds
(control);
1073
if (element.Container is { } container && bounds !=
GetCachedBounds
(element))
1092
Debug.Assert(specified == BoundsSpecified.None ||
GetCachedBounds
(element) == element.Bounds,
1123
Rectangle elementSpace = LayoutUtils.InflateRect(
GetCachedBounds
(element), margin);
1146
Rectangle bounds =
GetCachedBounds
(element);
1166
Rectangle bounds =
GetCachedBounds
(element);