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