System\Windows\Controls\Primitives\Popup.cs (30)
2062popupTranslation = ((Vector)placementTargetInterestPoints[(int)InterestPoint.TopLeft])
2091screenBounds = GetScreenBounds(targetBounds, placementTargetInterestPoints[(int)InterestPoint.TopLeft]);
2131screenBounds = GetScreenBounds(targetBounds, placementTargetInterestPoints[(int)InterestPoint.TopLeft]);
2139Point topLeft = placementTargetInterestPoints[(int)InterestPoint.TopLeft];
2232screenBounds = GetScreenBounds(targetBounds, placementTargetInterestPoints[(int)InterestPoint.TopLeft]);
2241Point topLeft = placementTargetInterestPoints[(int)InterestPoint.TopLeft];
2263Point topLeft = placementTargetInterestPoints[(int)InterestPoint.TopLeft];
2395SwapPoints(ref interestPoints[(int)InterestPoint.TopLeft], ref interestPoints[(int)InterestPoint.TopRight]);
2420points[(int)InterestPoint.TopLeft] = rect.TopLeft;
2514if (i == 0) return new PointCombination(InterestPoint.BottomLeft, InterestPoint.TopLeft);
2515if (i == 1) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomLeft);
2529if (i == 0) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomLeft);
2530if (i == 1) return new PointCombination(InterestPoint.BottomLeft, InterestPoint.TopLeft);
2543if (i == 0) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);
2545if (i == 2) return new PointCombination(InterestPoint.TopRight, InterestPoint.TopLeft);
2550if (i == 0) return new PointCombination(InterestPoint.TopRight, InterestPoint.TopLeft);
2552if (i == 2) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);
2564if (i == 0) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);
2565if (i == 1) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopLeft);
2566if (i == 2) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomRight);
2567if (i == 3) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomLeft);
2571if (i == 0) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopLeft);
2572if (i == 1) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);
2573if (i == 2) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomLeft);
2574if (i == 3) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomRight);
2586return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopLeft);
2589return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);