1 instantiation of Orientation
PresentationFramework (1)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
11689bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.Orientation(); };
195 references to Orientation
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
InlineDiagnostics\InlineDiagnosticsTag.cs (1)
100Orientation = Orientation.Horizontal,
InlineHints\InlineHintsTag.cs (1)
190Orientation = Orientation.Vertical
Microsoft.VisualStudio.LanguageServices (1)
UnusedReferences\Dialog\UnusedReferencesTableProvider.ColumnDefinitions.cs (1)
64Orientation = Orientation.Horizontal,
PresentationFramework (146)
System\Windows\Automation\Peers\ScrollBarAutomationPeer.cs (2)
47return ((ScrollBar)Owner).Orientation == Orientation.Horizontal ? 65if (sb.Orientation == Orientation.Horizontal)
System\Windows\Controls\ItemsControl.cs (11)
2006bool isHorizontal = (ItemsHost != null && ItemsHost.HasLogicalOrientation && ItemsHost.LogicalOrientation == Orientation.Horizontal); 2287bool isHorizontal = (ItemsHost.HasLogicalOrientation && ItemsHost.LogicalOrientation == Orientation.Horizontal); 2372bool isHorizontal = (ItemsHost.HasLogicalOrientation && ItemsHost.LogicalOrientation == Orientation.Horizontal); 2438bool isHorizontal = (ItemsHost.HasLogicalOrientation && ItemsHost.LogicalOrientation == Orientation.Horizontal); 2581isHorizontal = (ItemsHost.HasLogicalOrientation && ItemsHost.LogicalOrientation == Orientation.Horizontal); 2630bool isHorizontal = (ItemsHost.HasLogicalOrientation && ItemsHost.LogicalOrientation == Orientation.Horizontal); 2731bool isHorizontal = (ItemsHost.HasLogicalOrientation && ItemsHost.LogicalOrientation == Orientation.Horizontal); 2784bool isHorizontal = (ItemsHost.HasLogicalOrientation && ItemsHost.LogicalOrientation == Orientation.Horizontal); 2785bool isVertical = (ItemsHost.HasLogicalOrientation && ItemsHost.LogicalOrientation == Orientation.Vertical); 3290return (ItemsHost != null && ItemsHost.HasLogicalOrientation && ItemsHost.LogicalOrientation == Orientation.Vertical && 3300return (ItemsHost != null && ItemsHost.HasLogicalOrientation && ItemsHost.LogicalOrientation == Orientation.Horizontal &&
System\Windows\Controls\Menu.cs (2)
193bool isVertical = itemsHost != null && itemsHost.HasLogicalOrientation && itemsHost.LogicalOrientation == Orientation.Vertical; 207bool isVertical = itemsHost != null && itemsHost.HasLogicalOrientation && itemsHost.LogicalOrientation == Orientation.Vertical;
System\Windows\Controls\Panel.cs (3)
289public Orientation LogicalOrientationPublic 298protected internal virtual Orientation LogicalOrientation 300get { return Orientation.Vertical; }
System\Windows\Controls\Primitives\ScrollBar.cs (13)
71public Orientation Orientation 73get { return (Orientation) GetValue(OrientationProperty); } 93= DependencyProperty.Register("Orientation", typeof(Orientation), typeof(ScrollBar), 94new FrameworkPropertyMetadata(Orientation.Vertical), 331if (Orientation == Orientation.Horizontal) 397RoutedCommand command = (Orientation == Orientation.Horizontal) ? DeferScrollToHorizontalOffsetCommand : DeferScrollToVerticalOffsetCommand; 415bool horizontal = (Orientation == Orientation.Horizontal); 480if (scrollBar.Orientation == Orientation.Vertical) 725Orientation value = (Orientation)o; 726return value == Orientation.Horizontal 727|| value == Orientation.Vertical; 780if (sb.Orientation == Orientation.Vertical)
System\Windows\Controls\Primitives\TickBar.cs (1)
696if (parent.Orientation == Orientation.Horizontal)
System\Windows\Controls\Primitives\ToolBarPanel.cs (2)
237bool horizontal = (Orientation == Orientation.Horizontal); 288bool fHorizontal = (Orientation == Orientation.Horizontal);
System\Windows\Controls\Primitives\Track.cs (8)
63if (Orientation == Orientation.Horizontal) 87if (Orientation == Orientation.Horizontal) 227DependencyProperty.Register("Orientation", typeof(Orientation), typeof(Track), 228new FrameworkPropertyMetadata(Orientation.Horizontal, FrameworkPropertyMetadataOptions.AffectsMeasure), 235public Orientation Orientation 237get { return (Orientation)GetValue(OrientationProperty); } 431if (Orientation == Orientation.Vertical) 468bool isVertical = (Orientation == Orientation.Vertical);
System\Windows\Controls\ProgressBar.cs (8)
128typeof(Orientation), 131Orientation.Horizontal, 139public Orientation Orientation 141get { return (Orientation) GetValue(OrientationProperty); } 147Orientation value = (Orientation)o; 148return value == Orientation.Horizontal 149|| value == Orientation.Vertical;
System\Windows\Controls\ScrollViewer.cs (1)
2709hsb.SetValue(ScrollBar.OrientationProperty, Orientation.Horizontal);
System\Windows\Controls\Slider.cs (8)
270DependencyProperty.Register("Orientation", typeof(Orientation), typeof(Slider), 271new FrameworkPropertyMetadata(Orientation.Horizontal), 277public Orientation Orientation 279get { return (Orientation)GetValue(OrientationProperty); } 928if (Orientation == Orientation.Horizontal) 947if (Orientation == Orientation.Horizontal) 998if (Orientation == Orientation.Horizontal) 1063if (Orientation == Orientation.Horizontal)
System\Windows\Controls\Stack.cs (18)
28Orientation Orientation { get; } 92SetVerticalOffset(VerticalOffset - ((Orientation == Orientation.Vertical) ? 1.0 : ScrollViewer._scrollLineDelta)); 100SetVerticalOffset(VerticalOffset + ((Orientation == Orientation.Vertical) ? 1.0 : ScrollViewer._scrollLineDelta)); 108SetHorizontalOffset(HorizontalOffset - ((Orientation == Orientation.Horizontal) ? 1.0 : ScrollViewer._scrollLineDelta)); 116SetHorizontalOffset(HorizontalOffset + ((Orientation == Orientation.Horizontal) ? 1.0 : ScrollViewer._scrollLineDelta)); 158SetVerticalOffset(VerticalOffset - SystemParameters.WheelScrollLines * ((Orientation == Orientation.Vertical) ? 1.0 : ScrollViewer._scrollLineDelta)); 173SetVerticalOffset(VerticalOffset + SystemParameters.WheelScrollLines * ((Orientation == Orientation.Vertical) ? 1.0 : ScrollViewer._scrollLineDelta)); 186SetHorizontalOffset(HorizontalOffset - 3.0 * ((Orientation == Orientation.Horizontal) ? 1.0 : ScrollViewer._scrollLineDelta)); 194SetHorizontalOffset(HorizontalOffset + 3.0 * ((Orientation == Orientation.Horizontal) ? 1.0 : ScrollViewer._scrollLineDelta)); 297public Orientation Orientation 299get { return (Orientation) GetValue(OrientationProperty); } 309typeof(Orientation), 312Orientation.Vertical, 329protected internal override Orientation LogicalOrientation 553bool fHorizontal = (measureElement.Orientation == Orientation.Horizontal); 719bool fHorizontal = (arrangeElement.Orientation == Orientation.Horizontal); 875bool fHorizontal = (Orientation == Orientation.Horizontal); 917bool fHorizontal = (Orientation == Orientation.Horizontal);
System\Windows\Controls\ToolBar.cs (5)
100typeof(Orientation), 103Orientation.Horizontal, 122public Orientation Orientation 126return (Orientation) GetValue(OrientationProperty); 547if (toolBarPanel.Orientation == Orientation.Horizontal)
System\Windows\Controls\ToolBarTray.cs (10)
92typeof(Orientation), 95Orientation.Horizontal, 114public Orientation Orientation 116get { return (Orientation) GetValue(OrientationProperty); } 349bool fHorizontal = (Orientation == Orientation.Horizontal); 416bool fHorizontal = (Orientation == Orientation.Horizontal); 522bool fHorizontal = (Orientation == Orientation.Horizontal); 670if (Orientation == Orientation.Horizontal) 718if (Orientation == Orientation.Horizontal) 767bool fHorizontal = Orientation == Orientation.Horizontal;
System\Windows\Controls\VirtualizingStackPanel.cs (33)
138bool isHorizontal = (Orientation == Orientation.Horizontal); 158bool isHorizontal = (Orientation == Orientation.Horizontal); 178bool isHorizontal = (Orientation == Orientation.Horizontal); 198bool isHorizontal = (Orientation == Orientation.Horizontal); 218bool isHorizontal = (Orientation == Orientation.Horizontal); 238bool isHorizontal = (Orientation == Orientation.Horizontal); 258bool isHorizontal = (Orientation == Orientation.Horizontal); 278bool isHorizontal = (Orientation == Orientation.Horizontal); 301bool isHorizontal = (Orientation == Orientation.Horizontal); 329bool isHorizontal = (Orientation == Orientation.Horizontal); 354bool isHorizontal = (Orientation == Orientation.Horizontal); 374bool isHorizontal = (Orientation == Orientation.Horizontal); 403(isHorizontal==(Orientation == Orientation.Horizontal)), 507if (!IsVSP45Compat && Orientation == Orientation.Horizontal) 635if (!IsVSP45Compat && Orientation == Orientation.Vertical) 732bool isHorizontal = (Orientation == Orientation.Horizontal); 873bool isHorizontal = (Orientation == Orientation.Horizontal); 1430SetAnchorInformation(Orientation == Orientation.Horizontal); 1446SetAnchorInformation(Orientation == Orientation.Horizontal); 1484bool isHorizontal = (Orientation == Orientation.Horizontal); 1774public Orientation Orientation 1776get { return (Orientation) GetValue(OrientationProperty); } 1792protected internal override Orientation LogicalOrientation 1801DependencyProperty.Register("Orientation", typeof(Orientation), typeof(VirtualizingStackPanel), 1802new FrameworkPropertyMetadata(Orientation.Vertical, 2174bool isHorizontal = (Orientation == Orientation.Horizontal); 3330bool isHorizontal = (Orientation == Orientation.Horizontal); 3781bool isHorizontal = (Orientation == Orientation.Horizontal); 3974bool isHorizontal = (Orientation == Orientation.Horizontal); 4121isChildHorizontal = (virtualizingChild.ItemsHost.LogicalOrientationPublic == Orientation.Horizontal); 11000bool isHorizontal = (Orientation == Orientation.Horizontal); 11041bool isHorizontal = (Orientation == Orientation.Horizontal); 11207bool fHorizontal = (Orientation == Orientation.Horizontal);
System\Windows\Controls\WrapPanel.cs (15)
42_orientation = (Orientation) OrientationProperty.GetDefaultValue(DependencyObjectType); 137Orientation.Horizontal, 148public Orientation Orientation 160p._orientation = (Orientation) e.NewValue; 163private Orientation _orientation; 177internal UVSize (Orientation orientation, double width, double height) 185internal UVSize (Orientation orientation) 193private Orientation _orientation; 197get { return (_orientation == Orientation.Horizontal ? U : V); } 198set { if(_orientation == Orientation.Horizontal) U = value; else V = value; } 202get { return (_orientation == Orientation.Horizontal ? V : U); } 203set { if(_orientation == Orientation.Horizontal) V = value; else U = value; } 278double itemU = (Orientation == Orientation.Horizontal ? itemWidth : itemHeight); 283bool useItemU = (Orientation == Orientation.Horizontal ? itemWidthSet : itemHeightSet); 333bool isHorizontal = (Orientation == Orientation.Horizontal);
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (4)
3848bamlMember.TypeConverterType = typeof(System.Windows.Controls.Orientation); 7270bamlMember.TypeConverterType = typeof(System.Windows.Controls.Orientation); 7619bamlMember.TypeConverterType = typeof(System.Windows.Controls.Orientation); 8208bamlMember.TypeConverterType = typeof(System.Windows.Controls.Orientation);
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (2)
11687typeof(System.Windows.Controls.Orientation), 11690bamlType.TypeConverterType = typeof(System.Windows.Controls.Orientation);
PresentationFramework.Aero (7)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
25if (Orientation == Orientation.Vertical) 36bool horizontal = Orientation == Orientation.Horizontal;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (5)
109public Orientation Orientation 111get { return (Orientation)GetValue(OrientationProperty); } 119DependencyProperty.Register("Orientation", typeof(Orientation), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Orientation.Vertical, FrameworkPropertyMetadataOptions.AffectsRender)); 258if (Orientation == Orientation.Vertical)
PresentationFramework.Aero2 (7)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
25if (Orientation == Orientation.Vertical) 36bool horizontal = Orientation == Orientation.Horizontal;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (5)
109public Orientation Orientation 111get { return (Orientation)GetValue(OrientationProperty); } 119DependencyProperty.Register("Orientation", typeof(Orientation), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Orientation.Vertical, FrameworkPropertyMetadataOptions.AffectsRender)); 258if (Orientation == Orientation.Vertical)
PresentationFramework.AeroLite (7)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
25if (Orientation == Orientation.Vertical) 36bool horizontal = Orientation == Orientation.Horizontal;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (5)
109public Orientation Orientation 111get { return (Orientation)GetValue(OrientationProperty); } 119DependencyProperty.Register("Orientation", typeof(Orientation), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Orientation.Vertical, FrameworkPropertyMetadataOptions.AffectsRender)); 258if (Orientation == Orientation.Vertical)
PresentationFramework.Classic (6)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
49bool horizontal = Orientation == Orientation.Horizontal;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (5)
109public Orientation Orientation 111get { return (Orientation)GetValue(OrientationProperty); } 119DependencyProperty.Register("Orientation", typeof(Orientation), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Orientation.Vertical, FrameworkPropertyMetadataOptions.AffectsRender)); 258if (Orientation == Orientation.Vertical)
PresentationFramework.Luna (6)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
76bool horizontal = Orientation == Orientation.Horizontal;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (5)
109public Orientation Orientation 111get { return (Orientation)GetValue(OrientationProperty); } 119DependencyProperty.Register("Orientation", typeof(Orientation), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Orientation.Vertical, FrameworkPropertyMetadataOptions.AffectsRender)); 258if (Orientation == Orientation.Vertical)
PresentationFramework.Royale (6)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
32bool horizontal = Orientation == Orientation.Horizontal;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (5)
109public Orientation Orientation 111get { return (Orientation)GetValue(OrientationProperty); } 119DependencyProperty.Register("Orientation", typeof(Orientation), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Orientation.Vertical, FrameworkPropertyMetadataOptions.AffectsRender)); 258if (Orientation == Orientation.Vertical)
Roslyn.VisualStudio.DiagnosticsWindow (3)
OptionPages\InternalOptionsControl.cs (2)
72Orientation = Orientation.Horizontal, 90Orientation = Orientation.Horizontal,
PerfMargin\PerfMarginPanel.cs (1)
93var s = new StackPanel() { Orientation = Orientation.Horizontal };
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGroupsPanel.cs (2)
43OrientationProperty.OverrideMetadata(typeof(RibbonGroupsPanel), new FrameworkPropertyMetadata(Orientation.Horizontal, null, new CoerceValueCallback(CoerceOrientation))); 534return Orientation.Horizontal;
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonMenuItemsPanel.cs (1)
22OrientationProperty.OverrideMetadata(typeof(RibbonMenuItemsPanel), new FrameworkPropertyMetadata(Orientation.Vertical));
Microsoft\Windows\Controls\Ribbon\RibbonControlGroup.cs (1)
40fef.SetValue(StackPanel.OrientationProperty, Orientation.Horizontal);