src\Framework\System\Windows\Controls\Primitives\Popup.cs (16)
2085animateFromRight = childInterestPoint == InterestPoint.TopRight || childInterestPoint == InterestPoint.BottomRight;
2146Point topRight = placementTargetInterestPoints[(int)InterestPoint.TopRight];
2270Point topRight = placementTargetInterestPoints[(int)InterestPoint.TopRight];
2401SwapPoints(ref interestPoints[(int)InterestPoint.TopLeft], ref interestPoints[(int)InterestPoint.TopRight]);
2427points[(int)InterestPoint.TopRight] = rect.TopRight;
2515if (i == 0) return new PointCombination(InterestPoint.BottomRight, InterestPoint.TopRight);
2516if (i == 1) return new PointCombination(InterestPoint.TopRight, InterestPoint.BottomRight);
2530if (i == 0) return new PointCombination(InterestPoint.TopRight, InterestPoint.BottomRight);
2531if (i == 1) return new PointCombination(InterestPoint.BottomRight, InterestPoint.TopRight);
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);
2580if (i == 1) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);
2597return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);