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