16 references to TopRight
PresentationFramework (16)
System\Windows\Controls\Primitives\Popup.cs (16)
2080animateFromRight = childInterestPoint == InterestPoint.TopRight || childInterestPoint == InterestPoint.BottomRight;
2140Point topRight = placementTargetInterestPoints[(int)InterestPoint.TopRight];
2264Point topRight = placementTargetInterestPoints[(int)InterestPoint.TopRight];
2395SwapPoints(ref interestPoints[(int)InterestPoint.TopLeft], ref interestPoints[(int)InterestPoint.TopRight]);
2421points[(int)InterestPoint.TopRight] = rect.TopRight;
2509if (i == 0) return new PointCombination(InterestPoint.BottomRight, InterestPoint.TopRight);
2510if (i == 1) return new PointCombination(InterestPoint.TopRight, InterestPoint.BottomRight);
2524if (i == 0) return new PointCombination(InterestPoint.TopRight, InterestPoint.BottomRight);
2525if (i == 1) return new PointCombination(InterestPoint.BottomRight, InterestPoint.TopRight);
2543if (i == 0) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);
2545if (i == 2) return new PointCombination(InterestPoint.TopRight, InterestPoint.TopLeft);
2550if (i == 0) return new PointCombination(InterestPoint.TopRight, InterestPoint.TopLeft);
2552if (i == 2) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);
2564if (i == 0) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);
2572if (i == 1) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);
2589return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);