System\Windows\Controls\Primitives\Popup.cs (30)
2055popupTranslation = ((Vector)placementTargetInterestPoints[(int)InterestPoint.TopLeft])
2084screenBounds = GetScreenBounds(targetBounds, placementTargetInterestPoints[(int)InterestPoint.TopLeft]);
2124screenBounds = GetScreenBounds(targetBounds, placementTargetInterestPoints[(int)InterestPoint.TopLeft]);
2132Point topLeft = placementTargetInterestPoints[(int)InterestPoint.TopLeft];
2225screenBounds = GetScreenBounds(targetBounds, placementTargetInterestPoints[(int)InterestPoint.TopLeft]);
2234Point topLeft = placementTargetInterestPoints[(int)InterestPoint.TopLeft];
2256Point topLeft = placementTargetInterestPoints[(int)InterestPoint.TopLeft];
2388SwapPoints(ref interestPoints[(int)InterestPoint.TopLeft], ref interestPoints[(int)InterestPoint.TopRight]);
2413points[(int)InterestPoint.TopLeft] = rect.TopLeft;
2507if (i == 0) return new PointCombination(InterestPoint.BottomLeft, InterestPoint.TopLeft);
2508if (i == 1) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomLeft);
2522if (i == 0) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomLeft);
2523if (i == 1) return new PointCombination(InterestPoint.BottomLeft, InterestPoint.TopLeft);
2536if (i == 0) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);
2538if (i == 2) return new PointCombination(InterestPoint.TopRight, InterestPoint.TopLeft);
2543if (i == 0) return new PointCombination(InterestPoint.TopRight, InterestPoint.TopLeft);
2545if (i == 2) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);
2557if (i == 0) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);
2558if (i == 1) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopLeft);
2559if (i == 2) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomRight);
2560if (i == 3) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomLeft);
2564if (i == 0) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopLeft);
2565if (i == 1) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);
2566if (i == 2) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomLeft);
2567if (i == 3) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomRight);
2579return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopLeft);
2582return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);