src\Framework\System\Windows\Controls\Primitives\Popup.cs (14)
2085animateFromRight = childInterestPoint == InterestPoint.TopRight || childInterestPoint == InterestPoint.BottomRight;
2086animateFromBottom = childInterestPoint == InterestPoint.BottomLeft || childInterestPoint == InterestPoint.BottomRight;
2402SwapPoints(ref interestPoints[(int)InterestPoint.BottomLeft], ref interestPoints[(int)InterestPoint.BottomRight]);
2429points[(int)InterestPoint.BottomRight] = rect.BottomRight;
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);
2552if (i == 1) return new PointCombination(InterestPoint.BottomLeft, InterestPoint.BottomRight);
2554if (i == 3) return new PointCombination(InterestPoint.BottomRight, InterestPoint.BottomLeft);
2559if (i == 1) return new PointCombination(InterestPoint.BottomRight, InterestPoint.BottomLeft);
2561if (i == 3) return new PointCombination(InterestPoint.BottomLeft, InterestPoint.BottomRight);
2574if (i == 2) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomRight);
2582if (i == 3) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomRight);