30 references to TopLeft
PresentationFramework (30)
System\Windows\Controls\Primitives\Popup.cs (30)
2061popupTranslation = ((Vector)placementTargetInterestPoints[(int)InterestPoint.TopLeft]) 2090screenBounds = GetScreenBounds(targetBounds, placementTargetInterestPoints[(int)InterestPoint.TopLeft]); 2130screenBounds = GetScreenBounds(targetBounds, placementTargetInterestPoints[(int)InterestPoint.TopLeft]); 2138Point topLeft = placementTargetInterestPoints[(int)InterestPoint.TopLeft]; 2231screenBounds = GetScreenBounds(targetBounds, placementTargetInterestPoints[(int)InterestPoint.TopLeft]); 2240Point topLeft = placementTargetInterestPoints[(int)InterestPoint.TopLeft]; 2262Point topLeft = placementTargetInterestPoints[(int)InterestPoint.TopLeft]; 2394SwapPoints(ref interestPoints[(int)InterestPoint.TopLeft], ref interestPoints[(int)InterestPoint.TopRight]); 2419points[(int)InterestPoint.TopLeft] = rect.TopLeft; 2513if (i == 0) return new PointCombination(InterestPoint.BottomLeft, InterestPoint.TopLeft); 2514if (i == 1) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomLeft); 2528if (i == 0) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomLeft); 2529if (i == 1) return new PointCombination(InterestPoint.BottomLeft, InterestPoint.TopLeft); 2542if (i == 0) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight); 2544if (i == 2) return new PointCombination(InterestPoint.TopRight, InterestPoint.TopLeft); 2549if (i == 0) return new PointCombination(InterestPoint.TopRight, InterestPoint.TopLeft); 2551if (i == 2) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight); 2563if (i == 0) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight); 2564if (i == 1) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopLeft); 2565if (i == 2) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomRight); 2566if (i == 3) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomLeft); 2570if (i == 0) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopLeft); 2571if (i == 1) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight); 2572if (i == 2) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomLeft); 2573if (i == 3) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomRight); 2585return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopLeft); 2588return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);