17 references to Direction
PresentationFramework (17)
System\Windows\Controls\PopupControlService.cs (17)
1555_points[i].Direction = (_points[i].Y >= _points[next].Y) ? Direction.Up : Direction.Down;
1559_points[i].Direction = (_points[i].X >= _points[next].X) ? Direction.Left : Direction.Right;
1563_points[i].Direction = Direction.Skew;
1574points.Add(new Point(rect.right, rect.top, Direction.Left));
1575points.Add(new Point(rect.left, rect.top, Direction.Down));
1576points.Add(new Point(rect.left, rect.bottom, Direction.Right));
1577points.Add(new Point(rect.right, rect.bottom, Direction.Up));
1662case Direction.Left:
1665case Direction.Right:
1668case Direction.Up:
1671case Direction.Down:
1682case Direction.Skew:
1713public Direction Direction { get; set; }
1715public Point(int x, int y, Direction d=Direction.Skew)