8 references to ShapeMargin
System.Data (8)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\AutoSplitHelper.cs (8)
127
if (dropLocation.Y >= targetLocation.Y && dropLocation.Y <= targetLocation.Y + targetSize.Height +
ShapeMargin
)
129
dropLocation.Y = targetLocation.Y + targetSize.Height +
ShapeMargin
;
131
else if (dropLocation.Y + droppedSize.Height +
ShapeMargin
>= targetLocation.Y && dropLocation.Y <= targetLocation.Y)
133
dropLocation.Y = targetLocation.Y - droppedSize.Height -
ShapeMargin
;
143
if (dropLocation.X >= targetLocation.X && dropLocation.X <= targetLocation.X + targetSize.Width +
ShapeMargin
)
145
dropLocation.X = targetLocation.X + targetSize.Width +
ShapeMargin
;
147
else if (dropLocation.X + droppedSize.Width +
ShapeMargin
>= targetLocation.X && dropLocation.X <= targetLocation.X)
149
dropLocation.X = targetLocation.X - droppedSize.Width -
ShapeMargin
;