1 write to orientation
System.Workflow.ComponentModel (1)
AuthoringOM\Design\Connector.cs (1)
2586
this.
orientation
= ((this.point1.X == this.point2.X) ? Orientation.Vertical : Orientation.Horizontal);
17 references to orientation
System.Workflow.ComponentModel (17)
AuthoringOM\Design\Connector.cs (17)
2609
return this.
orientation
;
2618
return (this.
orientation
== Orientation.Horizontal) ? (p.X >= Math.Min(this.point1.X, this.point2.X) && p.X <= Math.Max(this.point1.X, this.point2.X)) : (p.Y >= Math.Min(this.point1.Y, this.point2.Y) && p.Y <= Math.Max(this.point1.Y, this.point2.Y));
2626
if (this.
orientation
== segment.Orientation)
2629
ConnectorSegment vertical = (this.
orientation
== Orientation.Vertical) ? this : segment;
2630
ConnectorSegment horizontal = (this.
orientation
== Orientation.Vertical) ? segment : this;
2644
return (this.
orientation
== Orientation.Horizontal) ? p.Y == this.point1.Y : p.X == this.point1.X;
2650
if ((this.
orientation
== Orientation.Horizontal && p.Y != this.point1.Y) || (this.
orientation
== Orientation.Vertical && p.X != this.point1.X))
2653
int k = (this.
orientation
== Orientation.Horizontal) ? p.X : p.Y;
2654
int k1 = (this.
orientation
== Orientation.Horizontal) ? this.point1.X : this.point1.Y;
2655
int k2 = (this.
orientation
== Orientation.Horizontal) ? this.point2.X : this.point2.Y;
2692
Orientation newOrientation = (this.
orientation
== Orientation.Horizontal) ? Orientation.Vertical : Orientation.Horizontal;
2708
int k = (this.
orientation
== Orientation.Horizontal) ? p.X : p.Y;
2709
int k1 = (this.
orientation
== Orientation.Horizontal) ? this.point1.X : this.point1.Y;
2710
int k2 = (this.
orientation
== Orientation.Horizontal) ? this.point2.X : this.point2.Y;
2717
return new Point((this.
orientation
== Orientation.Horizontal) ? k : p.X, (this.
orientation
== Orientation.Horizontal) ? p.Y : k);