17 references to Direction
PresentationFramework (17)
System\Windows\Controls\PopupControlService.cs (17)
1551_points[i].Direction = (_points[i].Y >= _points[next].Y) ? Direction.Up : Direction.Down;
1555_points[i].Direction = (_points[i].X >= _points[next].X) ? Direction.Left : Direction.Right;
1559_points[i].Direction = Direction.Skew;
1570points.Add(new Point(rect.right, rect.top, Direction.Left));
1571points.Add(new Point(rect.left, rect.top, Direction.Down));
1572points.Add(new Point(rect.left, rect.bottom, Direction.Right));
1573points.Add(new Point(rect.right, rect.bottom, Direction.Up));
1658case Direction.Left:
1661case Direction.Right:
1664case Direction.Up:
1667case Direction.Down:
1678case Direction.Skew:
1709public Direction Direction { get; set; }
1711public Point(int x, int y, Direction d=Direction.Skew)