128 references to Horizontal
PresentationFramework (80)
src\Framework\System\Windows\Automation\Peers\ScrollBarAutomationPeer.cs (2)
49
return ((ScrollBar)Owner).Orientation == Orientation.
Horizontal
?
67
if (sb.Orientation == Orientation.
Horizontal
)
src\Framework\System\Windows\Controls\ItemsControl.cs (9)
2018
bool isHorizontal = (ItemsHost != null && ItemsHost.HasLogicalOrientation && ItemsHost.LogicalOrientation == Orientation.
Horizontal
);
2299
bool isHorizontal = (ItemsHost.HasLogicalOrientation && ItemsHost.LogicalOrientation == Orientation.
Horizontal
);
2384
bool isHorizontal = (ItemsHost.HasLogicalOrientation && ItemsHost.LogicalOrientation == Orientation.
Horizontal
);
2450
bool isHorizontal = (ItemsHost.HasLogicalOrientation && ItemsHost.LogicalOrientation == Orientation.
Horizontal
);
2593
isHorizontal = (ItemsHost.HasLogicalOrientation && ItemsHost.LogicalOrientation == Orientation.
Horizontal
);
2642
bool isHorizontal = (ItemsHost.HasLogicalOrientation && ItemsHost.LogicalOrientation == Orientation.
Horizontal
);
2743
bool isHorizontal = (ItemsHost.HasLogicalOrientation && ItemsHost.LogicalOrientation == Orientation.
Horizontal
);
2796
bool isHorizontal = (ItemsHost.HasLogicalOrientation && ItemsHost.LogicalOrientation == Orientation.
Horizontal
);
3240
return (ItemsHost != null && ItemsHost.HasLogicalOrientation && ItemsHost.LogicalOrientation == Orientation.
Horizontal
&&
src\Framework\System\Windows\Controls\Primitives\ScrollBar.cs (4)
352
if (Orientation == Orientation.
Horizontal
)
418
RoutedCommand command = (Orientation == Orientation.
Horizontal
) ? DeferScrollToHorizontalOffsetCommand : DeferScrollToVerticalOffsetCommand;
436
bool horizontal = (Orientation == Orientation.
Horizontal
);
747
return value == Orientation.
Horizontal
src\Framework\System\Windows\Controls\Primitives\TickBar.cs (1)
711
if (parent.Orientation == Orientation.
Horizontal
)
src\Framework\System\Windows\Controls\Primitives\ToolBarPanel.cs (2)
247
bool horizontal = (Orientation == Orientation.
Horizontal
);
298
bool fHorizontal = (Orientation == Orientation.
Horizontal
);
src\Framework\System\Windows\Controls\Primitives\Track.cs (3)
76
if (Orientation == Orientation.
Horizontal
)
100
if (Orientation == Orientation.
Horizontal
)
241
new FrameworkPropertyMetadata(Orientation.
Horizontal
, FrameworkPropertyMetadataOptions.AffectsMeasure),
src\Framework\System\Windows\Controls\ProgressBar.cs (2)
134
Orientation.
Horizontal
,
151
return value == Orientation.
Horizontal
src\Framework\System\Windows\Controls\ScrollViewer.cs (1)
2757
hsb.SetValue(ScrollBar.OrientationProperty, Orientation.
Horizontal
);
src\Framework\System\Windows\Controls\Slider.cs (4)
284
new FrameworkPropertyMetadata(Orientation.
Horizontal
),
943
if (Orientation == Orientation.
Horizontal
)
962
if (Orientation == Orientation.
Horizontal
)
1014
if (Orientation == Orientation.
Horizontal
)
src\Framework\System\Windows\Controls\Stack.cs (8)
120
SetHorizontalOffset(HorizontalOffset - ((Orientation == Orientation.
Horizontal
) ? 1.0 : ScrollViewer._scrollLineDelta));
128
SetHorizontalOffset(HorizontalOffset + ((Orientation == Orientation.
Horizontal
) ? 1.0 : ScrollViewer._scrollLineDelta));
198
SetHorizontalOffset(HorizontalOffset - 3.0 * ((Orientation == Orientation.
Horizontal
) ? 1.0 : ScrollViewer._scrollLineDelta));
206
SetHorizontalOffset(HorizontalOffset + 3.0 * ((Orientation == Orientation.
Horizontal
) ? 1.0 : ScrollViewer._scrollLineDelta));
565
bool fHorizontal = (measureElement.Orientation == Orientation.
Horizontal
);
731
bool fHorizontal = (arrangeElement.Orientation == Orientation.
Horizontal
);
887
bool fHorizontal = (Orientation == Orientation.
Horizontal
);
929
bool fHorizontal = (Orientation == Orientation.
Horizontal
);
src\Framework\System\Windows\Controls\ToolBar.cs (2)
113
Orientation.
Horizontal
,
566
if (toolBarPanel.Orientation == Orientation.
Horizontal
)
src\Framework\System\Windows\Controls\ToolBarTray.cs (7)
104
Orientation.
Horizontal
,
367
bool fHorizontal = (Orientation == Orientation.
Horizontal
);
435
bool fHorizontal = (Orientation == Orientation.
Horizontal
);
541
bool fHorizontal = (Orientation == Orientation.
Horizontal
);
691
if (Orientation == Orientation.
Horizontal
)
739
if (Orientation == Orientation.
Horizontal
)
788
bool fHorizontal = Orientation == Orientation.
Horizontal
;
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (27)
144
bool isHorizontal = (Orientation == Orientation.
Horizontal
);
164
bool isHorizontal = (Orientation == Orientation.
Horizontal
);
184
bool isHorizontal = (Orientation == Orientation.
Horizontal
);
204
bool isHorizontal = (Orientation == Orientation.
Horizontal
);
224
bool isHorizontal = (Orientation == Orientation.
Horizontal
);
244
bool isHorizontal = (Orientation == Orientation.
Horizontal
);
264
bool isHorizontal = (Orientation == Orientation.
Horizontal
);
284
bool isHorizontal = (Orientation == Orientation.
Horizontal
);
307
bool isHorizontal = (Orientation == Orientation.
Horizontal
);
335
bool isHorizontal = (Orientation == Orientation.
Horizontal
);
360
bool isHorizontal = (Orientation == Orientation.
Horizontal
);
380
bool isHorizontal = (Orientation == Orientation.
Horizontal
);
409
(isHorizontal==(Orientation == Orientation.
Horizontal
)),
513
if (!IsVSP45Compat && Orientation == Orientation.
Horizontal
)
734
bool isHorizontal = (Orientation == Orientation.
Horizontal
);
875
bool isHorizontal = (Orientation == Orientation.
Horizontal
);
1386
SetAnchorInformation(Orientation == Orientation.
Horizontal
);
1402
SetAnchorInformation(Orientation == Orientation.
Horizontal
);
1440
bool isHorizontal = (Orientation == Orientation.
Horizontal
);
2130
bool isHorizontal = (Orientation == Orientation.
Horizontal
);
3274
bool isHorizontal = (Orientation == Orientation.
Horizontal
);
3721
bool isHorizontal = (Orientation == Orientation.
Horizontal
);
3897
bool isHorizontal = (Orientation == Orientation.
Horizontal
);
4044
isChildHorizontal = (virtualizingChild.ItemsHost.LogicalOrientationPublic == Orientation.
Horizontal
);
10858
bool isHorizontal = (Orientation == Orientation.
Horizontal
);
10899
bool isHorizontal = (Orientation == Orientation.
Horizontal
);
11074
bool fHorizontal = (Orientation == Orientation.
Horizontal
);
src\Framework\System\Windows\Controls\WrapPanel.cs (8)
149
Orientation.
Horizontal
,
209
get { return (_orientation == Orientation.
Horizontal
? U : V); }
210
set { if(_orientation == Orientation.
Horizontal
) U = value; else V = value; }
214
get { return (_orientation == Orientation.
Horizontal
? V : U); }
215
set { if(_orientation == Orientation.
Horizontal
) V = value; else U = value; }
290
double itemU = (Orientation == Orientation.
Horizontal
? itemWidth : itemHeight);
295
bool useItemU = (Orientation == Orientation.
Horizontal
? itemWidthSet : itemHeightSet);
345
bool isHorizontal = (Orientation == Orientation.
Horizontal
);
PresentationFramework.Aero (1)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
41
bool horizontal = Orientation == Orientation.
Horizontal
;
PresentationFramework.Classic (1)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
55
bool horizontal = Orientation == Orientation.
Horizontal
;
PresentationFramework.Luna (1)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
81
bool horizontal = Orientation == Orientation.
Horizontal
;
PresentationFramework.Royale (1)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
37
bool horizontal = Orientation == Orientation.
Horizontal
;
System.Activities.Presentation (44)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorEditor.cs (10)
405
Orientation orientation = (Math.Abs(slopeOfLine) < 1) ? Orientation.
Horizontal
: Orientation.Vertical;
408
if (orientation == Orientation.
Horizontal
)
418
Point editPointLocation = (orientation == Orientation.
Horizontal
) ? new Point(previous.Location.X + editPointOffset, previous.Location.Y) : new Point(previous.Location.X, previous.Location.Y + editPointOffset);
426
Orientation orientation = (Math.Abs(slopeOfLine) < 1) ? Orientation.
Horizontal
: Orientation.Vertical;
429
if (orientation == Orientation.
Horizontal
)
439
Point editPointLocation = (orientation == Orientation.
Horizontal
) ? new Point(next.Location.X + editPointOffset, next.Location.Y) : new Point(next.Location.X, next.Location.Y + editPointOffset);
509
Orientation orientation = (Math.Abs(slopeOfLine) < 1) ? Orientation.
Horizontal
: Orientation.Vertical;
510
previous.Location = (orientation == Orientation.
Horizontal
) ? new Point(previous.Location.X, newPoint.Y) : new Point(newPoint.X, previous.Location.Y);
514
orientation = (Math.Abs(slopeOfLine) < 1) ? Orientation.
Horizontal
: Orientation.Vertical;
515
next.Location = (orientation == Orientation.
Horizontal
) ? new Point(next.Location.X, newPoint.Y) : new Point(newPoint.X, next.Location.Y);
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorRouter.cs (34)
383
escapePoint = EscapeProcessI(coverSet, Z, v, Orientation.
Horizontal
, margin);
397
orientationA = Orientation.
Horizontal
;
445
orientationA = Orientation.
Horizontal
;
460
Nullable<Point> escape = EscapeProcessII(coverSet, Orientation.
Horizontal
,
495
orientationA = Orientation.
Horizontal
;
510
Nullable<Point> escape = EscapeProcessII(coverSet, Orientation.
Horizontal
,
539
ConnectorSegment lesserCover = coverSet.GetCover(Z, (orientation == Orientation.
Horizontal
) ? DesignerEdges.Left : DesignerEdges.Bottom);
546
ConnectorSegment higherCover = coverSet.GetCover(Z, (orientation == Orientation.
Horizontal
) ? DesignerEdges.Right : DesignerEdges.Top);
644
if (orientation == Orientation.
Horizontal
)
646
escapePointI = EscapeProcessI(coverSet, R, v, Orientation.
Horizontal
, margin);
672
escapePointI = EscapeProcessI(coverSet, R, v, Orientation.
Horizontal
, margin);
757
Orientation orientationA = Orientation.
Horizontal
;
758
Orientation orientationB = Orientation.
Horizontal
;
965
ConnectorSegment b = ConnectorSegment.ConstructBoundSegment(coverSet, k, (a.Orientation == Orientation.
Horizontal
) ? Orientation.Vertical : Orientation.
Horizontal
);
1017
if (orientation == Orientation.
Horizontal
)
1078
this.orientation = (this.point1.X.IsEqualTo(this.point2.X) ? Orientation.Vertical : Orientation.
Horizontal
);
1112
return ConstructBoundSegment(coverSet, a, a.X.IsEqualTo(b.X) ? Orientation.Vertical : Orientation.
Horizontal
);
1117
return (orientation == Orientation.
Horizontal
) ? SegmentFromLeftToRightCover(coverSet, a) : SegmentFromBottomToTopCover(coverSet, a);
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);
1190
if (this.Orientation == Orientation.
Horizontal
)
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
;
1268
if (newOrientation == Orientation.
Horizontal
)
1283
return (this.orientation == Orientation.
Horizontal
) ? p.Y.IsEqualTo(this.point1.Y) : p.X.IsEqualTo(this.point1.X);