17 references to Direction
PresentationFramework (17)
System\Windows\Controls\PopupControlService.cs (17)
1548_points[i].Direction = (_points[i].Y >= _points[next].Y) ? Direction.Up : Direction.Down;
1552_points[i].Direction = (_points[i].X >= _points[next].X) ? Direction.Left : Direction.Right;
1556_points[i].Direction = Direction.Skew;
1567points.Add(new Point(rect.right, rect.top, Direction.Left));
1568points.Add(new Point(rect.left, rect.top, Direction.Down));
1569points.Add(new Point(rect.left, rect.bottom, Direction.Right));
1570points.Add(new Point(rect.right, rect.bottom, Direction.Up));
1655case Direction.Left:
1658case Direction.Right:
1661case Direction.Up:
1664case Direction.Down:
1675case Direction.Skew:
1706public Direction Direction { get; set; }
1708public Point(int x, int y, Direction d=Direction.Skew)