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