84 references to InterestPoint
PresentationFramework (84)
System\Windows\Controls\Primitives\Popup.cs (84)
1976public PointCombination(InterestPoint targetInterestPoint, InterestPoint childInterestPoint) 1982public InterestPoint TargetInterestPoint; 1983public InterestPoint ChildInterestPoint; 2067popupTranslation = ((Vector)placementTargetInterestPoints[(int)InterestPoint.TopLeft]) 2076InterestPoint targetInterestPoint = pointCombination.TargetInterestPoint; 2077InterestPoint childInterestPoint = pointCombination.ChildInterestPoint; 2085animateFromRight = childInterestPoint == InterestPoint.TopRight || childInterestPoint == InterestPoint.BottomRight; 2086animateFromBottom = childInterestPoint == InterestPoint.BottomLeft || childInterestPoint == InterestPoint.BottomRight; 2096screenBounds = GetScreenBounds(targetBounds, placementTargetInterestPoints[(int)InterestPoint.TopLeft]); 2136screenBounds = GetScreenBounds(targetBounds, placementTargetInterestPoints[(int)InterestPoint.TopLeft]); 2144Point topLeft = placementTargetInterestPoints[(int)InterestPoint.TopLeft]; 2145Point topRight = placementTargetInterestPoints[(int)InterestPoint.TopRight]; 2181Point bottomLeft = placementTargetInterestPoints[(int)InterestPoint.BottomLeft]; 2237screenBounds = GetScreenBounds(targetBounds, placementTargetInterestPoints[(int)InterestPoint.TopLeft]); 2246Point topLeft = placementTargetInterestPoints[(int)InterestPoint.TopLeft]; 2247Point bottomLeft = placementTargetInterestPoints[(int)InterestPoint.BottomLeft]; 2268Point topLeft = placementTargetInterestPoints[(int)InterestPoint.TopLeft]; 2269Point topRight = placementTargetInterestPoints[(int)InterestPoint.TopRight]; 2400SwapPoints(ref interestPoints[(int)InterestPoint.TopLeft], ref interestPoints[(int)InterestPoint.TopRight]); 2401SwapPoints(ref interestPoints[(int)InterestPoint.BottomLeft], ref interestPoints[(int)InterestPoint.BottomRight]); 2425points[(int)InterestPoint.TopLeft] = rect.TopLeft; 2426points[(int)InterestPoint.TopRight] = rect.TopRight; 2427points[(int)InterestPoint.BottomLeft] = rect.BottomLeft; 2428points[(int)InterestPoint.BottomRight] = rect.BottomRight; 2429points[(int)InterestPoint.Center] = new Point(rect.Left + rect.Width / 2.0, 2514if (i == 0) return new PointCombination(InterestPoint.BottomRight, InterestPoint.TopRight); 2515if (i == 1) return new PointCombination(InterestPoint.TopRight, InterestPoint.BottomRight); 2519if (i == 0) return new PointCombination(InterestPoint.BottomLeft, InterestPoint.TopLeft); 2520if (i == 1) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomLeft); 2529if (i == 0) return new PointCombination(InterestPoint.TopRight, InterestPoint.BottomRight); 2530if (i == 1) return new PointCombination(InterestPoint.BottomRight, InterestPoint.TopRight); 2534if (i == 0) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomLeft); 2535if (i == 1) return new PointCombination(InterestPoint.BottomLeft, InterestPoint.TopLeft); 2548if (i == 0) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight); 2549if (i == 1) return new PointCombination(InterestPoint.BottomLeft, InterestPoint.BottomRight); 2550if (i == 2) return new PointCombination(InterestPoint.TopRight, InterestPoint.TopLeft); 2551if (i == 3) return new PointCombination(InterestPoint.BottomRight, InterestPoint.BottomLeft); 2555if (i == 0) return new PointCombination(InterestPoint.TopRight, InterestPoint.TopLeft); 2556if (i == 1) return new PointCombination(InterestPoint.BottomRight, InterestPoint.BottomLeft); 2557if (i == 2) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight); 2558if (i == 3) return new PointCombination(InterestPoint.BottomLeft, InterestPoint.BottomRight); 2569if (i == 0) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight); 2570if (i == 1) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopLeft); 2571if (i == 2) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomRight); 2572if (i == 3) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomLeft); 2576if (i == 0) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopLeft); 2577if (i == 1) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight); 2578if (i == 2) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomLeft); 2579if (i == 3) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomRight); 2585return new PointCombination(InterestPoint.Center, InterestPoint.Center); 2591return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopLeft); 2594return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);