32 references to DesignerEdges
System.Activities.Presentation (32)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorRouter.cs (32)
321ConnectorSegment leftCover = coverSet.GetCover(Z, DesignerEdges.Left); 322ConnectorSegment rightCover = coverSet.GetCover(Z, DesignerEdges.Right); 323ConnectorSegment bottomCover = coverSet.GetCover(Z, DesignerEdges.Bottom); 324ConnectorSegment topCover = coverSet.GetCover(Z, DesignerEdges.Top); 539ConnectorSegment lesserCover = coverSet.GetCover(Z, (orientation == Orientation.Horizontal) ? DesignerEdges.Left : DesignerEdges.Bottom); 546ConnectorSegment higherCover = coverSet.GetCover(Z, (orientation == Orientation.Horizontal) ? DesignerEdges.Right : DesignerEdges.Top); 571DesignerEdges side; 574side = (direction.Y < 0) ? DesignerEdges.Bottom : DesignerEdges.Top; 578side = (direction.X < 0) ? DesignerEdges.Left : DesignerEdges.Right; 1122ConnectorSegment bottomCover = coverSet.GetCover(p, DesignerEdges.Bottom); 1123ConnectorSegment topCover = coverSet.GetCover(p, DesignerEdges.Top); 1134ConnectorSegment leftCover = coverSet.GetCover(p, DesignerEdges.Left); 1135ConnectorSegment rightCover = coverSet.GetCover(p, DesignerEdges.Right); 1365public ConnectorSegment GetCover(Point p, DesignerEdges side) 1370if (side == DesignerEdges.Left || side == DesignerEdges.Right) 1375int currentDistance = (int)((side == DesignerEdges.Left) ? p.X - segment.A.X : segment.A.X - p.X); 1391int currentDistance = (int)((side == DesignerEdges.Bottom) ? p.Y - segment.A.Y : segment.A.Y - p.Y); 1406public List<ConnectorSegment> GetCovers(Point p, DesignerEdges side) 1410if (side == DesignerEdges.Left || side == DesignerEdges.Right) 1415int currentDistance = (int)((side == DesignerEdges.Left) ? p.X - segment.A.X : segment.A.X - p.X); 1427int currentDistance = (int)((side == DesignerEdges.Bottom) ? p.Y - segment.A.Y : segment.A.Y - p.Y); 1438public bool IsEscapePoint(Point origin, Point escape, DesignerEdges side) 1442if (side == DesignerEdges.Left || side == DesignerEdges.Right) 1466if (side == DesignerEdges.Left || side == DesignerEdges.Right)