84 references to InterestPoint
PresentationFramework (84)
System\Windows\Controls\Primitives\Popup.cs (84)
1970public PointCombination(InterestPoint targetInterestPoint, InterestPoint childInterestPoint) 1976public InterestPoint TargetInterestPoint; 1977public InterestPoint ChildInterestPoint; 2061popupTranslation = ((Vector)placementTargetInterestPoints[(int)InterestPoint.TopLeft]) 2070InterestPoint targetInterestPoint = pointCombination.TargetInterestPoint; 2071InterestPoint childInterestPoint = pointCombination.ChildInterestPoint; 2079animateFromRight = childInterestPoint == InterestPoint.TopRight || childInterestPoint == InterestPoint.BottomRight; 2080animateFromBottom = childInterestPoint == InterestPoint.BottomLeft || childInterestPoint == InterestPoint.BottomRight; 2090screenBounds = GetScreenBounds(targetBounds, placementTargetInterestPoints[(int)InterestPoint.TopLeft]); 2130screenBounds = GetScreenBounds(targetBounds, placementTargetInterestPoints[(int)InterestPoint.TopLeft]); 2138Point topLeft = placementTargetInterestPoints[(int)InterestPoint.TopLeft]; 2139Point topRight = placementTargetInterestPoints[(int)InterestPoint.TopRight]; 2175Point bottomLeft = placementTargetInterestPoints[(int)InterestPoint.BottomLeft]; 2231screenBounds = GetScreenBounds(targetBounds, placementTargetInterestPoints[(int)InterestPoint.TopLeft]); 2240Point topLeft = placementTargetInterestPoints[(int)InterestPoint.TopLeft]; 2241Point bottomLeft = placementTargetInterestPoints[(int)InterestPoint.BottomLeft]; 2262Point topLeft = placementTargetInterestPoints[(int)InterestPoint.TopLeft]; 2263Point topRight = placementTargetInterestPoints[(int)InterestPoint.TopRight]; 2394SwapPoints(ref interestPoints[(int)InterestPoint.TopLeft], ref interestPoints[(int)InterestPoint.TopRight]); 2395SwapPoints(ref interestPoints[(int)InterestPoint.BottomLeft], ref interestPoints[(int)InterestPoint.BottomRight]); 2419points[(int)InterestPoint.TopLeft] = rect.TopLeft; 2420points[(int)InterestPoint.TopRight] = rect.TopRight; 2421points[(int)InterestPoint.BottomLeft] = rect.BottomLeft; 2422points[(int)InterestPoint.BottomRight] = rect.BottomRight; 2423points[(int)InterestPoint.Center] = new Point(rect.Left + rect.Width / 2.0, 2508if (i == 0) return new PointCombination(InterestPoint.BottomRight, InterestPoint.TopRight); 2509if (i == 1) return new PointCombination(InterestPoint.TopRight, InterestPoint.BottomRight); 2513if (i == 0) return new PointCombination(InterestPoint.BottomLeft, InterestPoint.TopLeft); 2514if (i == 1) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomLeft); 2523if (i == 0) return new PointCombination(InterestPoint.TopRight, InterestPoint.BottomRight); 2524if (i == 1) return new PointCombination(InterestPoint.BottomRight, InterestPoint.TopRight); 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); 2543if (i == 1) return new PointCombination(InterestPoint.BottomLeft, InterestPoint.BottomRight); 2544if (i == 2) return new PointCombination(InterestPoint.TopRight, InterestPoint.TopLeft); 2545if (i == 3) return new PointCombination(InterestPoint.BottomRight, InterestPoint.BottomLeft); 2549if (i == 0) return new PointCombination(InterestPoint.TopRight, InterestPoint.TopLeft); 2550if (i == 1) return new PointCombination(InterestPoint.BottomRight, InterestPoint.BottomLeft); 2551if (i == 2) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight); 2552if (i == 3) return new PointCombination(InterestPoint.BottomLeft, InterestPoint.BottomRight); 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); 2579return new PointCombination(InterestPoint.Center, InterestPoint.Center); 2585return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopLeft); 2588return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);