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