84 references to InterestPoint
PresentationFramework (84)
System\Windows\Controls\Primitives\Popup.cs (84)
1964public PointCombination(InterestPoint targetInterestPoint, InterestPoint childInterestPoint) 1970public InterestPoint TargetInterestPoint; 1971public InterestPoint ChildInterestPoint; 2055popupTranslation = ((Vector)placementTargetInterestPoints[(int)InterestPoint.TopLeft]) 2064InterestPoint targetInterestPoint = pointCombination.TargetInterestPoint; 2065InterestPoint childInterestPoint = pointCombination.ChildInterestPoint; 2073animateFromRight = childInterestPoint == InterestPoint.TopRight || childInterestPoint == InterestPoint.BottomRight; 2074animateFromBottom = childInterestPoint == InterestPoint.BottomLeft || childInterestPoint == InterestPoint.BottomRight; 2084screenBounds = GetScreenBounds(targetBounds, placementTargetInterestPoints[(int)InterestPoint.TopLeft]); 2124screenBounds = GetScreenBounds(targetBounds, placementTargetInterestPoints[(int)InterestPoint.TopLeft]); 2132Point topLeft = placementTargetInterestPoints[(int)InterestPoint.TopLeft]; 2133Point topRight = placementTargetInterestPoints[(int)InterestPoint.TopRight]; 2169Point bottomLeft = placementTargetInterestPoints[(int)InterestPoint.BottomLeft]; 2225screenBounds = GetScreenBounds(targetBounds, placementTargetInterestPoints[(int)InterestPoint.TopLeft]); 2234Point topLeft = placementTargetInterestPoints[(int)InterestPoint.TopLeft]; 2235Point bottomLeft = placementTargetInterestPoints[(int)InterestPoint.BottomLeft]; 2256Point topLeft = placementTargetInterestPoints[(int)InterestPoint.TopLeft]; 2257Point topRight = placementTargetInterestPoints[(int)InterestPoint.TopRight]; 2388SwapPoints(ref interestPoints[(int)InterestPoint.TopLeft], ref interestPoints[(int)InterestPoint.TopRight]); 2389SwapPoints(ref interestPoints[(int)InterestPoint.BottomLeft], ref interestPoints[(int)InterestPoint.BottomRight]); 2413points[(int)InterestPoint.TopLeft] = rect.TopLeft; 2414points[(int)InterestPoint.TopRight] = rect.TopRight; 2415points[(int)InterestPoint.BottomLeft] = rect.BottomLeft; 2416points[(int)InterestPoint.BottomRight] = rect.BottomRight; 2417points[(int)InterestPoint.Center] = new Point(rect.Left + rect.Width / 2.0, 2502if (i == 0) return new PointCombination(InterestPoint.BottomRight, InterestPoint.TopRight); 2503if (i == 1) return new PointCombination(InterestPoint.TopRight, InterestPoint.BottomRight); 2507if (i == 0) return new PointCombination(InterestPoint.BottomLeft, InterestPoint.TopLeft); 2508if (i == 1) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomLeft); 2517if (i == 0) return new PointCombination(InterestPoint.TopRight, InterestPoint.BottomRight); 2518if (i == 1) return new PointCombination(InterestPoint.BottomRight, InterestPoint.TopRight); 2522if (i == 0) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomLeft); 2523if (i == 1) return new PointCombination(InterestPoint.BottomLeft, InterestPoint.TopLeft); 2536if (i == 0) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight); 2537if (i == 1) return new PointCombination(InterestPoint.BottomLeft, InterestPoint.BottomRight); 2538if (i == 2) return new PointCombination(InterestPoint.TopRight, InterestPoint.TopLeft); 2539if (i == 3) return new PointCombination(InterestPoint.BottomRight, InterestPoint.BottomLeft); 2543if (i == 0) return new PointCombination(InterestPoint.TopRight, InterestPoint.TopLeft); 2544if (i == 1) return new PointCombination(InterestPoint.BottomRight, InterestPoint.BottomLeft); 2545if (i == 2) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight); 2546if (i == 3) return new PointCombination(InterestPoint.BottomLeft, InterestPoint.BottomRight); 2557if (i == 0) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight); 2558if (i == 1) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopLeft); 2559if (i == 2) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomRight); 2560if (i == 3) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomLeft); 2564if (i == 0) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopLeft); 2565if (i == 1) return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight); 2566if (i == 2) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomLeft); 2567if (i == 3) return new PointCombination(InterestPoint.TopLeft, InterestPoint.BottomRight); 2573return new PointCombination(InterestPoint.Center, InterestPoint.Center); 2579return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopLeft); 2582return new PointCombination(InterestPoint.TopLeft, InterestPoint.TopRight);