16 references to TopRight
PresentationFramework (16)
System\Windows\Controls\Primitives\Popup.cs (16)
2073animateFromRight = childInterestPoint == InterestPoint.TopRight || childInterestPoint == InterestPoint.BottomRight;
2133Point topRight = placementTargetInterestPoints[(int)InterestPoint.TopRight];
2257Point topRight = placementTargetInterestPoints[(int)InterestPoint.TopRight];
2388SwapPoints(ref interestPoints[(int)InterestPoint.TopLeft], ref interestPoints[(int)InterestPoint.TopRight]);
2414points[(int)InterestPoint.TopRight] = rect.TopRight;
2502if (i == 0) return new PointCombination(InterestPoint.BottomRight, InterestPoint.TopRight);
2503if (i == 1) return new PointCombination(InterestPoint.TopRight, InterestPoint.BottomRight);
2517if (i == 0) return new PointCombination(InterestPoint.TopRight, InterestPoint.BottomRight);
2518if (i == 1) return new PointCombination(InterestPoint.BottomRight, InterestPoint.TopRight);
2536if (i == 0) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);
2538if (i == 2) return new PointCombination(InterestPoint.TopRight, InterestPoint.TopLeft);
2543if (i == 0) return new PointCombination(InterestPoint.TopRight, InterestPoint.TopLeft);
2545if (i == 2) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);
2557if (i == 0) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);
2565if (i == 1) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);
2582return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);