84 references to InterestPoint
PresentationFramework (84)
System\Windows\Controls\Primitives\Popup.cs (84)
1971public PointCombination(InterestPoint targetInterestPoint, InterestPoint childInterestPoint) 1977public InterestPoint TargetInterestPoint; 1978public InterestPoint ChildInterestPoint; 2062popupTranslation = ((Vector)placementTargetInterestPoints[(int)InterestPoint.TopLeft]) 2071InterestPoint targetInterestPoint = pointCombination.TargetInterestPoint; 2072InterestPoint childInterestPoint = pointCombination.ChildInterestPoint; 2080animateFromRight = childInterestPoint == InterestPoint.TopRight || childInterestPoint == InterestPoint.BottomRight; 2081animateFromBottom = childInterestPoint == InterestPoint.BottomLeft || childInterestPoint == InterestPoint.BottomRight; 2091screenBounds = GetScreenBounds(targetBounds, placementTargetInterestPoints[(int)InterestPoint.TopLeft]); 2131screenBounds = GetScreenBounds(targetBounds, placementTargetInterestPoints[(int)InterestPoint.TopLeft]); 2139Point topLeft = placementTargetInterestPoints[(int)InterestPoint.TopLeft]; 2140Point topRight = placementTargetInterestPoints[(int)InterestPoint.TopRight]; 2176Point bottomLeft = placementTargetInterestPoints[(int)InterestPoint.BottomLeft]; 2232screenBounds = GetScreenBounds(targetBounds, placementTargetInterestPoints[(int)InterestPoint.TopLeft]); 2241Point topLeft = placementTargetInterestPoints[(int)InterestPoint.TopLeft]; 2242Point bottomLeft = placementTargetInterestPoints[(int)InterestPoint.BottomLeft]; 2263Point topLeft = placementTargetInterestPoints[(int)InterestPoint.TopLeft]; 2264Point topRight = placementTargetInterestPoints[(int)InterestPoint.TopRight]; 2395SwapPoints(ref interestPoints[(int)InterestPoint.TopLeft], ref interestPoints[(int)InterestPoint.TopRight]); 2396SwapPoints(ref interestPoints[(int)InterestPoint.BottomLeft], ref interestPoints[(int)InterestPoint.BottomRight]); 2420points[(int)InterestPoint.TopLeft] = rect.TopLeft; 2421points[(int)InterestPoint.TopRight] = rect.TopRight; 2422points[(int)InterestPoint.BottomLeft] = rect.BottomLeft; 2423points[(int)InterestPoint.BottomRight] = rect.BottomRight; 2424points[(int)InterestPoint.Center] = new Point(rect.Left + rect.Width / 2.0, 2509if (i == 0) return new PointCombination(InterestPoint.BottomRight, InterestPoint.TopRight); 2510if (i == 1) return new PointCombination(InterestPoint.TopRight, InterestPoint.BottomRight); 2514if (i == 0) return new PointCombination(InterestPoint.BottomLeft, InterestPoint.TopLeft); 2515if (i == 1) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomLeft); 2524if (i == 0) return new PointCombination(InterestPoint.TopRight, InterestPoint.BottomRight); 2525if (i == 1) return new PointCombination(InterestPoint.BottomRight, InterestPoint.TopRight); 2529if (i == 0) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomLeft); 2530if (i == 1) return new PointCombination(InterestPoint.BottomLeft, InterestPoint.TopLeft); 2543if (i == 0) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight); 2544if (i == 1) return new PointCombination(InterestPoint.BottomLeft, InterestPoint.BottomRight); 2545if (i == 2) return new PointCombination(InterestPoint.TopRight, InterestPoint.TopLeft); 2546if (i == 3) return new PointCombination(InterestPoint.BottomRight, InterestPoint.BottomLeft); 2550if (i == 0) return new PointCombination(InterestPoint.TopRight, InterestPoint.TopLeft); 2551if (i == 1) return new PointCombination(InterestPoint.BottomRight, InterestPoint.BottomLeft); 2552if (i == 2) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight); 2553if (i == 3) return new PointCombination(InterestPoint.BottomLeft, InterestPoint.BottomRight); 2564if (i == 0) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight); 2565if (i == 1) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopLeft); 2566if (i == 2) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomRight); 2567if (i == 3) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomLeft); 2571if (i == 0) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopLeft); 2572if (i == 1) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight); 2573if (i == 2) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomLeft); 2574if (i == 3) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomRight); 2580return new PointCombination(InterestPoint.Center, InterestPoint.Center); 2586return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopLeft); 2589return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);