15 references to AutoSplitAlignment
System.Data (15)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\AutoSplitHelper.cs (15)
73
AutoSplitAlignment
srcAlignment = GetAlignment(mousePosition, srcLocation, srcSize);
74
AutoSplitAlignment
destAlignment = GetAlignment(mousePosition, destLocation, destSize);
76
if ((distToSrc <= distToDest || destAlignment ==
AutoSplitAlignment
.None) && srcAlignment ==
AutoSplitAlignment
.Vertical)
80
else if ((distToSrc <= distToDest || destAlignment ==
AutoSplitAlignment
.None) && srcAlignment ==
AutoSplitAlignment
.Horizontal)
84
else if ((distToSrc >= distToDest || srcAlignment ==
AutoSplitAlignment
.None) && destAlignment ==
AutoSplitAlignment
.Vertical)
88
else if ((distToSrc >= distToDest || srcAlignment ==
AutoSplitAlignment
.None) && destAlignment ==
AutoSplitAlignment
.Horizontal)
108
internal static
AutoSplitAlignment
GetAlignment(Point mousePosition, Point targetLocation, Size targetSize)
110
AutoSplitAlignment
alignment =
AutoSplitAlignment
.None;
113
alignment =
AutoSplitAlignment
.Vertical;
117
alignment =
AutoSplitAlignment
.Horizontal;