4 writes to activeEditPoint
System.Data (4)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorEditor.cs (4)
44
this.
activeEditPoint
= null;
128
this.
activeEditPoint
= editPoint;
148
this.
activeEditPoint
= null;
157
this.
activeEditPoint
= null;
29 references to activeEditPoint
System.Data (29)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorEditor.cs (29)
56
return (this.
activeEditPoint
!= null);
64
return (this.BeingEdited && this.
activeEditPoint
.Type == EditPoint.EditPointTypes.ConnectionEditPoint
73
return (this.BeingEdited && this.
activeEditPoint
.Type == EditPoint.EditPointTypes.ConnectionEditPoint
142
if (this.
activeEditPoint
.Type == EditPoint.EditPointTypes.ConnectionEditPoint)
172
Fx.Assert(this.
activeEditPoint
!= null, "activeEditPoint is null");
269
(this.
activeEditPoint
!= null && this.
activeEditPoint
.Type == EditPoint.EditPointTypes.ConnectionEditPoint))
279
this.editPoints[i] == this.
activeEditPoint
)
377
if (editPoint != this.
activeEditPoint
)
395
if (this.
activeEditPoint
!= null)
397
int activeEditPointIndex = this.editPoints.IndexOf(this.
activeEditPoint
);
404
double slopeOfLine = DesignerGeometryHelper.SlopeOfLineSegment(previous.Location, this.
activeEditPoint
.Location);
407
int editPointOffset = Convert.ToInt32(DesignerGeometryHelper.DistanceBetweenPoints(previous.Location, (next != null) ? next.Location : this.
activeEditPoint
.Location)) / 4;
410
editPointOffset *= (previous.Location.X < this.
activeEditPoint
.Location.X) ? 1 : -1;
414
editPointOffset *= (previous.Location.Y < this.
activeEditPoint
.Location.Y) ? 1 : -1;
417
activeEditPointIndex = this.editPoints.IndexOf(this.
activeEditPoint
);
425
double slopeOfLine = DesignerGeometryHelper.SlopeOfLineSegment(this.
activeEditPoint
.Location, next.Location);
428
int editPointOffset = Convert.ToInt32(DesignerGeometryHelper.DistanceBetweenPoints((previous != null) ? previous.Location : this.
activeEditPoint
.Location, next.Location)) / 4;
431
editPointOffset *= (this.
activeEditPoint
.Location.X < next.Location.X) ? -1 : 1;
435
editPointOffset *= (this.
activeEditPoint
.Location.Y < next.Location.Y) ? -1 : 1;
438
activeEditPointIndex = this.editPoints.IndexOf(this.
activeEditPoint
);
444
if (this.
activeEditPoint
.Type == EditPoint.EditPointTypes.ConnectionEditPoint)
448
this.
activeEditPoint
.Location = newPoint;
469
this.
activeEditPoint
.Location = targetConnPt.Location;
483
this.
activeEditPoint
.Location = targetConnPt.Location;
503
else if (this.
activeEditPoint
.Type == EditPoint.EditPointTypes.MultiSegmentEditPoint)
508
double slopeOfLine = DesignerGeometryHelper.SlopeOfLineSegment(previous.Location, this.
activeEditPoint
.Location);
513
slopeOfLine = DesignerGeometryHelper.SlopeOfLineSegment(this.
activeEditPoint
.Location, next.Location);
518
this.
activeEditPoint
.Location = newPoint;