System\Windows\Controls\Primitives\Popup.cs (30)
2071popupTranslation = ((Vector)placementTargetInterestPoints[(int)InterestPoint.TopLeft])
2100screenBounds = GetScreenBounds(targetBounds, placementTargetInterestPoints[(int)InterestPoint.TopLeft]);
2140screenBounds = GetScreenBounds(targetBounds, placementTargetInterestPoints[(int)InterestPoint.TopLeft]);
2148Point topLeft = placementTargetInterestPoints[(int)InterestPoint.TopLeft];
2241screenBounds = GetScreenBounds(targetBounds, placementTargetInterestPoints[(int)InterestPoint.TopLeft]);
2250Point topLeft = placementTargetInterestPoints[(int)InterestPoint.TopLeft];
2272Point topLeft = placementTargetInterestPoints[(int)InterestPoint.TopLeft];
2404SwapPoints(ref interestPoints[(int)InterestPoint.TopLeft], ref interestPoints[(int)InterestPoint.TopRight]);
2429points[(int)InterestPoint.TopLeft] = rect.TopLeft;
2523if (i == 0) return new PointCombination(InterestPoint.BottomLeft, InterestPoint.TopLeft);
2524if (i == 1) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomLeft);
2538if (i == 0) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomLeft);
2539if (i == 1) return new PointCombination(InterestPoint.BottomLeft, InterestPoint.TopLeft);
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);
2574if (i == 1) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopLeft);
2575if (i == 2) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomRight);
2576if (i == 3) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomLeft);
2580if (i == 0) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopLeft);
2581if (i == 1) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);
2582if (i == 2) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomLeft);
2583if (i == 3) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomRight);
2595return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopLeft);
2598return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);