System\Windows\Controls\Primitives\Popup.cs (30)
2067popupTranslation = ((Vector)placementTargetInterestPoints[(int)InterestPoint.TopLeft])
2096screenBounds = GetScreenBounds(targetBounds, placementTargetInterestPoints[(int)InterestPoint.TopLeft]);
2136screenBounds = GetScreenBounds(targetBounds, placementTargetInterestPoints[(int)InterestPoint.TopLeft]);
2144Point topLeft = placementTargetInterestPoints[(int)InterestPoint.TopLeft];
2237screenBounds = GetScreenBounds(targetBounds, placementTargetInterestPoints[(int)InterestPoint.TopLeft]);
2246Point topLeft = placementTargetInterestPoints[(int)InterestPoint.TopLeft];
2268Point topLeft = placementTargetInterestPoints[(int)InterestPoint.TopLeft];
2400SwapPoints(ref interestPoints[(int)InterestPoint.TopLeft], ref interestPoints[(int)InterestPoint.TopRight]);
2425points[(int)InterestPoint.TopLeft] = rect.TopLeft;
2519if (i == 0) return new PointCombination(InterestPoint.BottomLeft, InterestPoint.TopLeft);
2520if (i == 1) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomLeft);
2534if (i == 0) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomLeft);
2535if (i == 1) return new PointCombination(InterestPoint.BottomLeft, InterestPoint.TopLeft);
2548if (i == 0) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);
2550if (i == 2) return new PointCombination(InterestPoint.TopRight, InterestPoint.TopLeft);
2555if (i == 0) return new PointCombination(InterestPoint.TopRight, InterestPoint.TopLeft);
2557if (i == 2) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);
2569if (i == 0) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);
2570if (i == 1) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopLeft);
2571if (i == 2) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomRight);
2572if (i == 3) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomLeft);
2576if (i == 0) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopLeft);
2577if (i == 1) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);
2578if (i == 2) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomLeft);
2579if (i == 3) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomRight);
2591return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopLeft);
2594return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);