51 references to Vertical
PresentationFramework (19)
src\Framework\System\Windows\Controls\ItemsControl.cs (2)
2797
bool isVertical = (ItemsHost.HasLogicalOrientation && ItemsHost.LogicalOrientation == Orientation.
Vertical
);
3230
return (ItemsHost != null && ItemsHost.HasLogicalOrientation && ItemsHost.LogicalOrientation == Orientation.
Vertical
&&
src\Framework\System\Windows\Controls\Menu.cs (2)
219
bool isVertical = itemsHost != null && itemsHost.HasLogicalOrientation && itemsHost.LogicalOrientation == Orientation.
Vertical
;
233
bool isVertical = itemsHost != null && itemsHost.HasLogicalOrientation && itemsHost.LogicalOrientation == Orientation.
Vertical
;
src\Framework\System\Windows\Controls\Panel.cs (1)
311
get { return Orientation.
Vertical
; }
src\Framework\System\Windows\Controls\Primitives\ScrollBar.cs (4)
112
new FrameworkPropertyMetadata(Orientation.
Vertical
),
501
if (scrollBar.Orientation == Orientation.
Vertical
)
748
|| value == Orientation.
Vertical
;
801
if (sb.Orientation == Orientation.
Vertical
)
src\Framework\System\Windows\Controls\Primitives\Track.cs (2)
444
if (Orientation == Orientation.
Vertical
)
481
bool isVertical = (Orientation == Orientation.
Vertical
);
src\Framework\System\Windows\Controls\ProgressBar.cs (1)
152
|| value == Orientation.
Vertical
;
src\Framework\System\Windows\Controls\Stack.cs (5)
104
SetVerticalOffset(VerticalOffset - ((Orientation == Orientation.
Vertical
) ? 1.0 : ScrollViewer._scrollLineDelta));
112
SetVerticalOffset(VerticalOffset + ((Orientation == Orientation.
Vertical
) ? 1.0 : ScrollViewer._scrollLineDelta));
170
SetVerticalOffset(VerticalOffset - SystemParameters.WheelScrollLines * ((Orientation == Orientation.
Vertical
) ? 1.0 : ScrollViewer._scrollLineDelta));
185
SetVerticalOffset(VerticalOffset + SystemParameters.WheelScrollLines * ((Orientation == Orientation.
Vertical
) ? 1.0 : ScrollViewer._scrollLineDelta));
324
Orientation.
Vertical
,
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (2)
639
if (!IsVSP45Compat && Orientation == Orientation.
Vertical
)
1758
new FrameworkPropertyMetadata(Orientation.
Vertical
,
PresentationFramework.Aero (3)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
30
if (Orientation == Orientation.
Vertical
)
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
121
DependencyProperty.Register("Orientation", typeof(Orientation), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Orientation.
Vertical
, FrameworkPropertyMetadataOptions.AffectsRender));
260
if (Orientation == Orientation.
Vertical
)
PresentationFramework.Classic (2)
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
121
DependencyProperty.Register("Orientation", typeof(Orientation), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Orientation.
Vertical
, FrameworkPropertyMetadataOptions.AffectsRender));
260
if (Orientation == Orientation.
Vertical
)
PresentationFramework.Luna (2)
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
121
DependencyProperty.Register("Orientation", typeof(Orientation), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Orientation.
Vertical
, FrameworkPropertyMetadataOptions.AffectsRender));
260
if (Orientation == Orientation.
Vertical
)
PresentationFramework.Royale (2)
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
121
DependencyProperty.Register("Orientation", typeof(Orientation), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Orientation.
Vertical
, FrameworkPropertyMetadataOptions.AffectsRender));
260
if (Orientation == Orientation.
Vertical
)
System.Activities.Presentation (23)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorEditor.cs (4)
405
Orientation orientation = (Math.Abs(slopeOfLine) < 1) ? Orientation.Horizontal : Orientation.
Vertical
;
426
Orientation orientation = (Math.Abs(slopeOfLine) < 1) ? Orientation.Horizontal : Orientation.
Vertical
;
509
Orientation orientation = (Math.Abs(slopeOfLine) < 1) ? Orientation.Horizontal : Orientation.
Vertical
;
514
orientation = (Math.Abs(slopeOfLine) < 1) ? Orientation.Horizontal : Orientation.
Vertical
;
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorRouter.cs (19)
386
orientationA = Orientation.
Vertical
;
394
escapePoint = EscapeProcessI(coverSet, Z, h, Orientation.
Vertical
, margin);
435
Nullable<Point> escape = EscapeProcessII(coverSet, Orientation.
Vertical
,
470
orientationA = Orientation.
Vertical
;
485
Nullable<Point> escape = EscapeProcessII(coverSet, Orientation.
Vertical
,
520
orientationA = Orientation.
Vertical
;
563
if (((orientation == Orientation.
Vertical
) ? direction.X : direction.Y).IsEqualTo(0))
572
if (orientation == Orientation.
Vertical
)
582
if ((orientation == Orientation.
Vertical
))
654
escapePointI = EscapeProcessI(coverSet, R, h, Orientation.
Vertical
, margin);
664
escapePointI = EscapeProcessI(coverSet, R, h, Orientation.
Vertical
, margin);
965
ConnectorSegment b = ConnectorSegment.ConstructBoundSegment(coverSet, k, (a.Orientation == Orientation.Horizontal) ? Orientation.
Vertical
: 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);
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)))
1266
Orientation newOrientation = (this.orientation == Orientation.Horizontal) ? Orientation.
Vertical
: Orientation.Horizontal;
1321
List<ConnectorSegment> covers = (cover.Orientation == Orientation.
Vertical
) ? this.verticalCovers : this.horizontalCovers;