12 references to GetCachedBounds
System.Windows.Forms (12)
System\Windows\Forms\Layout\DefaultLayout.cs (12)
32
Rectangle bounds =
GetCachedBounds
(element);
81
Rectangle oldBounds =
GetCachedBounds
(element);
160
Rectangle bounds =
GetCachedBounds
(element);
295
Rectangle cachedBounds =
GetCachedBounds
(element);
391
Debug.Assert(element.Bounds ==
GetCachedBounds
(element), "Why do we have cachedBounds for a docked element?");
733
Rectangle cachedBounds =
GetCachedBounds
(element);
878
Rectangle elementBounds =
GetCachedBounds
(control);
1074
if (element.Container is { } container && bounds !=
GetCachedBounds
(element))
1093
Debug.Assert(specified == BoundsSpecified.None ||
GetCachedBounds
(element) == element.Bounds,
1124
Rectangle elementSpace = LayoutUtils.InflateRect(
GetCachedBounds
(element), margin);
1147
Rectangle bounds =
GetCachedBounds
(element);
1167
Rectangle bounds =
GetCachedBounds
(element);