17 references to Direction
PresentationFramework (17)
System\Windows\Controls\PopupControlService.cs (17)
1552_points[i].Direction = (_points[i].Y >= _points[next].Y) ? Direction.Up : Direction.Down;
1556_points[i].Direction = (_points[i].X >= _points[next].X) ? Direction.Left : Direction.Right;
1560_points[i].Direction = Direction.Skew;
1571points.Add(new Point(rect.right, rect.top, Direction.Left));
1572points.Add(new Point(rect.left, rect.top, Direction.Down));
1573points.Add(new Point(rect.left, rect.bottom, Direction.Right));
1574points.Add(new Point(rect.right, rect.bottom, Direction.Up));
1659case Direction.Left:
1662case Direction.Right:
1665case Direction.Up:
1668case Direction.Down:
1679case Direction.Skew:
1710public Direction Direction { get; set; }
1712public Point(int x, int y, Direction d=Direction.Skew)