9 references to GetCachedBounds
System.Windows.Forms (9)
winforms\Managed\System\WinForms\Layout\DockAndAnchorLayout.cs (9)
36
Rectangle bounds =
GetCachedBounds
(element);
75
Rectangle oldBounds =
GetCachedBounds
(element);
132
Debug.WriteLineIf(CompModSwitches.RichLayout.TraceInfo, "\t\t'" + element + "' is anchored at " +
GetCachedBounds
(element).ToString());
186
Rectangle cachedBounds =
GetCachedBounds
(element);
270
Debug.Assert(element.Bounds ==
GetCachedBounds
(element), "Why do we have cachedBounds for a docked element?");
555
Rectangle bounds =
GetCachedBounds
(element);
777
if(bounds !=
GetCachedBounds
(element)) {
796
Debug.Assert(specified == BoundsSpecified.None ||
GetCachedBounds
(element) == element.Bounds,
831
Rectangle elementSpace = LayoutUtils.InflateRect(
GetCachedBounds
(element), margin);