16 references to TopRight
PresentationFramework (16)
System\Windows\Controls\Primitives\Popup.cs (16)
2089animateFromRight = childInterestPoint == InterestPoint.TopRight || childInterestPoint == InterestPoint.BottomRight;
2149Point topRight = placementTargetInterestPoints[(int)InterestPoint.TopRight];
2273Point topRight = placementTargetInterestPoints[(int)InterestPoint.TopRight];
2404SwapPoints(ref interestPoints[(int)InterestPoint.TopLeft], ref interestPoints[(int)InterestPoint.TopRight]);
2430points[(int)InterestPoint.TopRight] = rect.TopRight;
2518if (i == 0) return new PointCombination(InterestPoint.BottomRight, InterestPoint.TopRight);
2519if (i == 1) return new PointCombination(InterestPoint.TopRight, InterestPoint.BottomRight);
2533if (i == 0) return new PointCombination(InterestPoint.TopRight, InterestPoint.BottomRight);
2534if (i == 1) return new PointCombination(InterestPoint.BottomRight, InterestPoint.TopRight);
2552if (i == 0) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);
2554if (i == 2) return new PointCombination(InterestPoint.TopRight, InterestPoint.TopLeft);
2559if (i == 0) return new PointCombination(InterestPoint.TopRight, InterestPoint.TopLeft);
2561if (i == 2) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);
2573if (i == 0) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);
2581if (i == 1) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);
2598return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);