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