29 references to EdgeLocation
System.Data (29)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\AutoConnectHelper.cs (7)
154
internal static
EdgeLocation
AutoConnectDirection2EdgeLocation(AutoConnectDirections direction)
156
EdgeLocation
edgeLocation =
EdgeLocation
.Right;
160
edgeLocation =
EdgeLocation
.Left;
163
edgeLocation =
EdgeLocation
.Right;
166
edgeLocation =
EdgeLocation
.Top;
169
edgeLocation =
EdgeLocation
.Bottom;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\AutoSplitHelper.cs (15)
16
public static void CalculateEntryExitEdges(Point mousePosition, Connector connector, out
EdgeLocation
entryEdge, out
EdgeLocation
exitEdge)
35
case
EdgeLocation
.Top:
36
exitEdge =
EdgeLocation
.Bottom;
39
case
EdgeLocation
.Bottom:
40
exitEdge =
EdgeLocation
.Top;
43
case
EdgeLocation
.Left:
44
exitEdge =
EdgeLocation
.Right;
47
case
EdgeLocation
.Right:
48
exitEdge =
EdgeLocation
.Left;
155
internal static
EdgeLocation
CalculateEdgeLocation(Point mousePosition, Point shapeCenter)
161
return shapeCenter.X < mousePosition.X ?
EdgeLocation
.Left :
EdgeLocation
.Right;
165
return shapeCenter.Y < mousePosition.Y ?
EdgeLocation
.Top :
EdgeLocation
.Bottom;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectionPoint.cs (7)
139
public
EdgeLocation
EdgeLocation
179
case
EdgeLocation
.Left: return new Vector(-small / 2, 0);
180
case
EdgeLocation
.Right: return new Vector(small / 2, 0);
181
case
EdgeLocation
.Top: return new Vector(0, -small / 2);
182
case
EdgeLocation
.Bottom: return new Vector(0, small / 2);
199
if (this.EdgeLocation ==
EdgeLocation
.Left || this.EdgeLocation ==
EdgeLocation
.Right)