35 references to Orientation
System.Data (35)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorRouter.cs (35)
955ExtendCoversOutwards(coverSet, a.Orientation, lineMargin); 965ConnectorSegment b = ConnectorSegment.ConstructBoundSegment(coverSet, k, (a.Orientation == Orientation.Horizontal) ? Orientation.Vertical : Orientation.Horizontal); 1005ShrinkCoversInwards(coverSet, a.Orientation, lineMargin); 1078this.orientation = (this.point1.X.IsEqualTo(this.point2.X) ? Orientation.Vertical : Orientation.Horizontal); 1112return ConstructBoundSegment(coverSet, a, a.X.IsEqualTo(b.X) ? Orientation.Vertical : Orientation.Horizontal); 1117return (orientation == Orientation.Horizontal) ? SegmentFromLeftToRightCover(coverSet, a) : SegmentFromBottomToTopCover(coverSet, a); 1146return (this.orientation == Orientation.Horizontal) ? 1158return (this.point1.IsEqualTo(segment.A) && this.point2.IsEqualTo(segment.B) && Orientation == segment.Orientation); 1167if (this.Orientation == segment.Orientation) 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); 1190if (this.Orientation == Orientation.Horizontal) 1225return this.point1.GetHashCode() ^ this.point2.GetHashCode() ^ Orientation.GetHashCode(); 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; 1268if (newOrientation == Orientation.Horizontal) 1283return (this.orientation == Orientation.Horizontal) ? p.Y.IsEqualTo(this.point1.Y) : p.X.IsEqualTo(this.point1.X); 1321List<ConnectorSegment> covers = (cover.Orientation == Orientation.Vertical) ? this.verticalCovers : this.horizontalCovers;