16 references to TopRight
PresentationFramework (16)
System\Windows\Controls\Primitives\Popup.cs (16)
2085animateFromRight = childInterestPoint == InterestPoint.TopRight || childInterestPoint == InterestPoint.BottomRight;
2145Point topRight = placementTargetInterestPoints[(int)InterestPoint.TopRight];
2269Point topRight = placementTargetInterestPoints[(int)InterestPoint.TopRight];
2400SwapPoints(ref interestPoints[(int)InterestPoint.TopLeft], ref interestPoints[(int)InterestPoint.TopRight]);
2426points[(int)InterestPoint.TopRight] = rect.TopRight;
2514if (i == 0) return new PointCombination(InterestPoint.BottomRight, InterestPoint.TopRight);
2515if (i == 1) return new PointCombination(InterestPoint.TopRight, InterestPoint.BottomRight);
2529if (i == 0) return new PointCombination(InterestPoint.TopRight, InterestPoint.BottomRight);
2530if (i == 1) return new PointCombination(InterestPoint.BottomRight, InterestPoint.TopRight);
2548if (i == 0) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);
2550if (i == 2) return new PointCombination(InterestPoint.TopRight, InterestPoint.TopLeft);
2555if (i == 0) return new PointCombination(InterestPoint.TopRight, InterestPoint.TopLeft);
2557if (i == 2) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);
2569if (i == 0) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);
2577if (i == 1) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);
2594return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);