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);
395
Debug.Assert(element.Bounds ==
GetCachedBounds
(element), "Why do we have cachedBounds for a docked element?");
737
Rectangle cachedBounds =
GetCachedBounds
(element);
885
Rectangle elementBounds =
GetCachedBounds
(control);
1081
if (element.Container is { } container && bounds !=
GetCachedBounds
(element))
1100
Debug.Assert(specified == BoundsSpecified.None ||
GetCachedBounds
(element) == element.Bounds,
1131
Rectangle elementSpace = LayoutUtils.InflateRect(
GetCachedBounds
(element), margin);
1154
Rectangle bounds =
GetCachedBounds
(element);
1174
Rectangle bounds =
GetCachedBounds
(element);