13 writes to Location
System.Workflow.ComponentModel (13)
AuthoringOM\Design\Connector.cs (13)
873editPointHit.Location = point;
1162this.activeEditPoint.Location = newPoint;
1193previous.Location = (orientation == Orientation.Horizontal) ? new Point(previous.Location.X, newPoint.Y) : new Point(newPoint.X, previous.Location.Y);
1198next.Location = (orientation == Orientation.Horizontal) ? new Point(next.Location.X, newPoint.Y) : new Point(newPoint.X, next.Location.Y);
1201this.activeEditPoint.Location = newPoint;
1218previous.Location = new Point(previous.Location.X, newPoint.Y);
1219next.Location = new Point(next.Location.X, newPoint.Y);
1220this.activeEditPoint.Location = new Point(this.activeEditPoint.Location.X, newPoint.Y);
1224previous.Location = new Point(newPoint.X, previous.Location.Y);
1225next.Location = new Point(newPoint.X, next.Location.Y);
1226this.activeEditPoint.Location = new Point(newPoint.X, this.activeEditPoint.Location.Y);
1352next.Location = (slope < 1) ? new Point(next.Location.X, previous.Location.Y) : new Point(previous.Location.X, next.Location.Y);
1362previous.Location = (slope < 1) ? new Point(previous.Location.X, next.Location.Y) : new Point(next.Location.X, previous.Location.Y);
75 references to Location
System.Workflow.ComponentModel (75)
AuthoringOM\Design\Connector.cs (75)
1000segments.Add(editPoint.Location);
1002segmentEditPoints.Add(editPoint.Location);
1127float slopeOfLine = DesignerGeometryHelper.SlopeOfLineSegment(previous.Location, this.activeEditPoint.Location);
1130int editPointOffset = Convert.ToInt32(DesignerGeometryHelper.DistanceBetweenPoints(previous.Location, (next != null) ? next.Location : this.activeEditPoint.Location)) / 4;
1132editPointOffset *= (previous.Location.X < this.activeEditPoint.Location.X) ? 1 : -1;
1134editPointOffset *= (previous.Location.Y < this.activeEditPoint.Location.X) ? 1 : -1;
1137Point editPointLocation = (orientation == Orientation.Horizontal) ? new Point(previous.Location.X + editPointOffset, previous.Location.Y) : new Point(previous.Location.X, previous.Location.Y + editPointOffset);
1144float slopeOfLine = DesignerGeometryHelper.SlopeOfLineSegment(this.activeEditPoint.Location, next.Location);
1147int editPointOffset = Convert.ToInt32(DesignerGeometryHelper.DistanceBetweenPoints((previous != null) ? previous.Location : this.activeEditPoint.Location, next.Location)) / 4;
1149editPointOffset *= (this.activeEditPoint.Location.X < next.Location.X) ? -1 : 1;
1151editPointOffset *= (this.activeEditPoint.Location.Y < next.Location.Y) ? -1 : 1;
1154Point editPointLocation = (orientation == Orientation.Horizontal) ? new Point(next.Location.X + editPointOffset, next.Location.Y) : new Point(next.Location.X, next.Location.Y + editPointOffset);
1191float slopeOfLine = DesignerGeometryHelper.SlopeOfLineSegment(previous.Location, this.activeEditPoint.Location);
1193previous.Location = (orientation == Orientation.Horizontal) ? new Point(previous.Location.X, newPoint.Y) : new Point(newPoint.X, previous.Location.Y);
1196slopeOfLine = DesignerGeometryHelper.SlopeOfLineSegment(this.activeEditPoint.Location, next.Location);
1198next.Location = (orientation == Orientation.Horizontal) ? new Point(next.Location.X, newPoint.Y) : new Point(newPoint.X, next.Location.Y);
1212float slopeOfLine = DesignerGeometryHelper.SlopeOfLineSegment(previous.Location, next.Location);
1218previous.Location = new Point(previous.Location.X, newPoint.Y);
1219next.Location = new Point(next.Location.X, newPoint.Y);
1220this.activeEditPoint.Location = new Point(this.activeEditPoint.Location.X, newPoint.Y);
1224previous.Location = new Point(newPoint.X, previous.Location.Y);
1225next.Location = new Point(newPoint.X, next.Location.Y);
1226this.activeEditPoint.Location = new Point(newPoint.X, this.activeEditPoint.Location.Y);
1264DesignerGeometryHelper.DistanceOfLineSegments(new Point[] { this.editPoints[i].Location, this.editPoints[i + 1].Location }) > minLengthForSegmentEditPoint)
1266Point midPoint = DesignerGeometryHelper.MidPointOfLineSegment(this.editPoints[i].Location, this.editPoints[i + 1].Location);
1348double distance = DesignerGeometryHelper.DistanceOfLineSegments(new Point[] { previous.Location, current.Location });
1351float slope = DesignerGeometryHelper.SlopeOfLineSegment(current.Location, next.Location);
1352next.Location = (slope < 1) ? new Point(next.Location.X, previous.Location.Y) : new Point(previous.Location.X, next.Location.Y);
1358distance = DesignerGeometryHelper.DistanceOfLineSegments(new Point[] { current.Location, next.Location });
1361float slope = DesignerGeometryHelper.SlopeOfLineSegment(previous.Location, current.Location);
1362previous.Location = (slope < 1) ? new Point(previous.Location.X, next.Location.Y) : new Point(next.Location.X, previous.Location.Y);
1379float slope1 = DesignerGeometryHelper.SlopeOfLineSegment(previous.Location, current.Location);
1380float slope2 = DesignerGeometryHelper.SlopeOfLineSegment(current.Location, next.Location);
1395float slope = DesignerGeometryHelper.SlopeOfLineSegment(current.Location, next.Location);
1398Point location = (slope < 1) ? new Point(next.Location.X, current.Location.Y) : new Point(current.Location.X, next.Location.Y);
1437segments.Add(editPoint.Location);