16 references to TopRight
PresentationFramework (16)
System\Windows\Controls\Primitives\Popup.cs (16)
2079animateFromRight = childInterestPoint == InterestPoint.TopRight || childInterestPoint == InterestPoint.BottomRight;
2139Point topRight = placementTargetInterestPoints[(int)InterestPoint.TopRight];
2263Point topRight = placementTargetInterestPoints[(int)InterestPoint.TopRight];
2394SwapPoints(ref interestPoints[(int)InterestPoint.TopLeft], ref interestPoints[(int)InterestPoint.TopRight]);
2420points[(int)InterestPoint.TopRight] = rect.TopRight;
2508if (i == 0) return new PointCombination(InterestPoint.BottomRight, InterestPoint.TopRight);
2509if (i == 1) return new PointCombination(InterestPoint.TopRight, InterestPoint.BottomRight);
2523if (i == 0) return new PointCombination(InterestPoint.TopRight, InterestPoint.BottomRight);
2524if (i == 1) return new PointCombination(InterestPoint.BottomRight, InterestPoint.TopRight);
2542if (i == 0) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);
2544if (i == 2) return new PointCombination(InterestPoint.TopRight, InterestPoint.TopLeft);
2549if (i == 0) return new PointCombination(InterestPoint.TopRight, InterestPoint.TopLeft);
2551if (i == 2) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);
2563if (i == 0) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);
2571if (i == 1) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);
2588return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);