src\Framework\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]);
2145Point topLeft = placementTargetInterestPoints[(int)InterestPoint.TopLeft];
2238screenBounds = GetScreenBounds(targetBounds, placementTargetInterestPoints[(int)InterestPoint.TopLeft]);
2247Point topLeft = placementTargetInterestPoints[(int)InterestPoint.TopLeft];
2269Point topLeft = placementTargetInterestPoints[(int)InterestPoint.TopLeft];
2401SwapPoints(ref interestPoints[(int)InterestPoint.TopLeft], ref interestPoints[(int)InterestPoint.TopRight]);
2426points[(int)InterestPoint.TopLeft] = rect.TopLeft;
2520if (i == 0) return new PointCombination(InterestPoint.BottomLeft, InterestPoint.TopLeft);
2521if (i == 1) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomLeft);
2536if (i == 0) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomLeft);
2537if (i == 1) return new PointCombination(InterestPoint.BottomLeft, InterestPoint.TopLeft);
2551if (i == 0) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);
2553if (i == 2) return new PointCombination(InterestPoint.TopRight, InterestPoint.TopLeft);
2558if (i == 0) return new PointCombination(InterestPoint.TopRight, InterestPoint.TopLeft);
2560if (i == 2) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);
2572if (i == 0) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);
2573if (i == 1) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopLeft);
2574if (i == 2) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomRight);
2575if (i == 3) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomLeft);
2579if (i == 0) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopLeft);
2580if (i == 1) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);
2581if (i == 2) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomLeft);
2582if (i == 3) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomRight);
2594return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopLeft);
2597return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);