1 write to orientation
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorRouter.cs (1)
1078this.orientation = (this.point1.X.IsEqualTo(this.point2.X) ? Orientation.Vertical : Orientation.Horizontal);
17 references to orientation
System.Activities.Presentation (17)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorRouter.cs (17)
1101return this.orientation; 1146return (this.orientation == Orientation.Horizontal) ? 1181double k = ((this.orientation == Orientation.Horizontal) ? p.X : p.Y); 1182double k1 = ((this.orientation == Orientation.Horizontal) ? this.point1.X : this.point1.Y); 1183double k2 = ((this.orientation == Orientation.Horizontal) ? this.point2.X : this.point2.Y); 1185return new Point((this.orientation == Orientation.Horizontal) ? k : p.X, (this.orientation == Orientation.Horizontal) ? p.Y : k); 1230if (this.orientation == segment.Orientation) 1235ConnectorSegment vertical = (this.orientation == Orientation.Vertical) ? this : segment; 1236ConnectorSegment horizontal = (this.orientation == Orientation.Vertical) ? segment : this; 1253if ((this.orientation == Orientation.Horizontal && !p.Y.IsEqualTo(this.point1.Y)) || (this.orientation == Orientation.Vertical && !p.X.IsEqualTo(this.point1.X))) 1258double k = (this.orientation == Orientation.Horizontal) ? p.X : p.Y; 1259double k1 = (this.orientation == Orientation.Horizontal) ? this.point1.X : this.point1.Y; 1260double k2 = (this.orientation == Orientation.Horizontal) ? this.point2.X : this.point2.Y; 1266Orientation newOrientation = (this.orientation == Orientation.Horizontal) ? Orientation.Vertical : Orientation.Horizontal; 1283return (this.orientation == Orientation.Horizontal) ? p.Y.IsEqualTo(this.point1.Y) : p.X.IsEqualTo(this.point1.X);