19 references to segments
System.Workflow.ComponentModel (19)
AuthoringOM\Design\Connector.cs (19)
297if (this.segments.Count == 0 || this.segments[0] != this.source.Location) 300connectorSegments.AddRange(this.segments); 302if (this.segments.Count == 0 || this.segments[this.segments.Count - 1] != this.target.Location) 345for (int i = 0; i < this.segments.Count; i++) 346this.segments[i] = new Point(this.segments[i].X + size.Width, this.segments[i].Y + size.Height); 417this.segments.Clear(); 418this.segments.AddRange(segments); 426if (this.segments.Count > 0 && 427(this.segments[0] != Source.Location || this.segments[this.segments.Count - 1] != Target.Location)) 433this.segments.Clear(); 434this.segments.AddRange(newSegments); 726return this.segments;