1 instantiation of Orientation
PresentationFramework (1)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
12999DefaultConstructor = delegate () { return new System.Windows.Controls.Orientation(); },
196 references to Orientation
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
InlineDiagnostics\InlineDiagnosticsTag.cs (1)
99Orientation = Orientation.Horizontal,
InlineHints\InlineHintsTag.cs (1)
190Orientation = Orientation.Vertical
Microsoft.VisualStudio.LanguageServices (1)
UnusedReferences\Dialog\UnusedReferencesTableProvider.ColumnDefinitions.cs (1)
63Orientation = Orientation.Horizontal,
Microsoft.VisualStudio.LanguageServices.CSharp (1)
SemanticSearch\SemanticSearchToolWindowImpl.cs (1)
242Orientation = Orientation.Horizontal,
PresentationFramework (146)
System\Windows\Automation\Peers\ScrollBarAutomationPeer.cs (2)
46return ((ScrollBar)Owner).Orientation == Orientation.Horizontal ? 64if (sb.Orientation == Orientation.Horizontal)
System\Windows\Controls\ItemsControl.cs (11)
1975bool isHorizontal = (ItemsHost != null && ItemsHost.HasLogicalOrientation && ItemsHost.LogicalOrientation == Orientation.Horizontal); 2256bool isHorizontal = (ItemsHost.HasLogicalOrientation && ItemsHost.LogicalOrientation == Orientation.Horizontal); 2341bool isHorizontal = (ItemsHost.HasLogicalOrientation && ItemsHost.LogicalOrientation == Orientation.Horizontal); 2407bool isHorizontal = (ItemsHost.HasLogicalOrientation && ItemsHost.LogicalOrientation == Orientation.Horizontal); 2550isHorizontal = (ItemsHost.HasLogicalOrientation && ItemsHost.LogicalOrientation == Orientation.Horizontal); 2599bool isHorizontal = (ItemsHost.HasLogicalOrientation && ItemsHost.LogicalOrientation == Orientation.Horizontal); 2700bool isHorizontal = (ItemsHost.HasLogicalOrientation && ItemsHost.LogicalOrientation == Orientation.Horizontal); 2753bool isHorizontal = (ItemsHost.HasLogicalOrientation && ItemsHost.LogicalOrientation == Orientation.Horizontal); 2754bool isVertical = (ItemsHost.HasLogicalOrientation && ItemsHost.LogicalOrientation == Orientation.Vertical); 3259return (ItemsHost != null && ItemsHost.HasLogicalOrientation && ItemsHost.LogicalOrientation == Orientation.Vertical && 3269return (ItemsHost != null && ItemsHost.HasLogicalOrientation && ItemsHost.LogicalOrientation == Orientation.Horizontal &&
System\Windows\Controls\Menu.cs (2)
192bool isVertical = itemsHost != null && itemsHost.HasLogicalOrientation && itemsHost.LogicalOrientation == Orientation.Vertical; 206bool isVertical = itemsHost != null && itemsHost.HasLogicalOrientation && itemsHost.LogicalOrientation == Orientation.Vertical;
System\Windows\Controls\Panel.cs (3)
288public Orientation LogicalOrientationPublic 297protected internal virtual Orientation LogicalOrientation 299get { return Orientation.Vertical; }
System\Windows\Controls\Primitives\ScrollBar.cs (13)
70public Orientation Orientation 72get { return (Orientation) GetValue(OrientationProperty); } 92= DependencyProperty.Register("Orientation", typeof(Orientation), typeof(ScrollBar), 93new FrameworkPropertyMetadata(Orientation.Vertical), 330if (Orientation == Orientation.Horizontal) 396RoutedCommand command = (Orientation == Orientation.Horizontal) ? DeferScrollToHorizontalOffsetCommand : DeferScrollToVerticalOffsetCommand; 414bool horizontal = (Orientation == Orientation.Horizontal); 481if (scrollBar.Orientation == Orientation.Vertical) 726Orientation value = (Orientation)o; 727return value == Orientation.Horizontal 728|| value == Orientation.Vertical; 781if (sb.Orientation == Orientation.Vertical)
System\Windows\Controls\Primitives\TickBar.cs (1)
699if (parent.Orientation == Orientation.Horizontal)
System\Windows\Controls\Primitives\ToolBarPanel.cs (2)
236bool horizontal = (Orientation == Orientation.Horizontal); 284bool fHorizontal = (Orientation == Orientation.Horizontal);
System\Windows\Controls\Primitives\Track.cs (8)
62if (Orientation == Orientation.Horizontal) 86if (Orientation == Orientation.Horizontal) 222DependencyProperty.Register("Orientation", typeof(Orientation), typeof(Track), 223new FrameworkPropertyMetadata(Orientation.Horizontal, FrameworkPropertyMetadataOptions.AffectsMeasure), 230public Orientation Orientation 232get { return (Orientation)GetValue(OrientationProperty); } 422if (Orientation == Orientation.Vertical) 459bool isVertical = (Orientation == Orientation.Vertical);
System\Windows\Controls\ProgressBar.cs (8)
124typeof(Orientation), 127Orientation.Horizontal, 135public Orientation Orientation 137get { return (Orientation) GetValue(OrientationProperty); } 143Orientation value = (Orientation)o; 144return value == Orientation.Horizontal 145|| value == Orientation.Vertical;
System\Windows\Controls\ScrollViewer.cs (1)
2710hsb.SetValue(ScrollBar.OrientationProperty, Orientation.Horizontal);
System\Windows\Controls\Slider.cs (8)
251DependencyProperty.Register("Orientation", typeof(Orientation), typeof(Slider), 252new FrameworkPropertyMetadata(Orientation.Horizontal), 258public Orientation Orientation 260get { return (Orientation)GetValue(OrientationProperty); } 911if (Orientation == Orientation.Horizontal) 930if (Orientation == Orientation.Horizontal) 981if (Orientation == Orientation.Horizontal) 1046if (Orientation == Orientation.Horizontal)
System\Windows\Controls\Stack.cs (18)
27Orientation Orientation { get; } 91SetVerticalOffset(VerticalOffset - ((Orientation == Orientation.Vertical) ? 1.0 : ScrollViewer._scrollLineDelta)); 99SetVerticalOffset(VerticalOffset + ((Orientation == Orientation.Vertical) ? 1.0 : ScrollViewer._scrollLineDelta)); 107SetHorizontalOffset(HorizontalOffset - ((Orientation == Orientation.Horizontal) ? 1.0 : ScrollViewer._scrollLineDelta)); 115SetHorizontalOffset(HorizontalOffset + ((Orientation == Orientation.Horizontal) ? 1.0 : ScrollViewer._scrollLineDelta)); 157SetVerticalOffset(VerticalOffset - SystemParameters.WheelScrollLines * ((Orientation == Orientation.Vertical) ? 1.0 : ScrollViewer._scrollLineDelta)); 172SetVerticalOffset(VerticalOffset + SystemParameters.WheelScrollLines * ((Orientation == Orientation.Vertical) ? 1.0 : ScrollViewer._scrollLineDelta)); 185SetHorizontalOffset(HorizontalOffset - 3.0 * ((Orientation == Orientation.Horizontal) ? 1.0 : ScrollViewer._scrollLineDelta)); 193SetHorizontalOffset(HorizontalOffset + 3.0 * ((Orientation == Orientation.Horizontal) ? 1.0 : ScrollViewer._scrollLineDelta)); 292public Orientation Orientation 294get { return (Orientation) GetValue(OrientationProperty); } 304typeof(Orientation), 307Orientation.Vertical, 324protected internal override Orientation LogicalOrientation 548bool fHorizontal = (measureElement.Orientation == Orientation.Horizontal); 714bool fHorizontal = (arrangeElement.Orientation == Orientation.Horizontal); 870bool fHorizontal = (Orientation == Orientation.Horizontal); 912bool fHorizontal = (Orientation == Orientation.Horizontal);
System\Windows\Controls\ToolBar.cs (5)
99typeof(Orientation), 102Orientation.Horizontal, 121public Orientation Orientation 125return (Orientation) GetValue(OrientationProperty); 540if (toolBarPanel.Orientation == Orientation.Horizontal)
System\Windows\Controls\ToolBarTray.cs (10)
91typeof(Orientation), 94Orientation.Horizontal, 113public Orientation Orientation 115get { return (Orientation) GetValue(OrientationProperty); } 348bool fHorizontal = (Orientation == Orientation.Horizontal); 415bool fHorizontal = (Orientation == Orientation.Horizontal); 521bool fHorizontal = (Orientation == Orientation.Horizontal); 666if (Orientation == Orientation.Horizontal) 714if (Orientation == Orientation.Horizontal) 763bool fHorizontal = Orientation == Orientation.Horizontal;
System\Windows\Controls\VirtualizingStackPanel.cs (33)
137bool isHorizontal = (Orientation == Orientation.Horizontal); 157bool isHorizontal = (Orientation == Orientation.Horizontal); 177bool isHorizontal = (Orientation == Orientation.Horizontal); 197bool isHorizontal = (Orientation == Orientation.Horizontal); 217bool isHorizontal = (Orientation == Orientation.Horizontal); 237bool isHorizontal = (Orientation == Orientation.Horizontal); 257bool isHorizontal = (Orientation == Orientation.Horizontal); 277bool isHorizontal = (Orientation == Orientation.Horizontal); 300bool isHorizontal = (Orientation == Orientation.Horizontal); 328bool isHorizontal = (Orientation == Orientation.Horizontal); 353bool isHorizontal = (Orientation == Orientation.Horizontal); 373bool isHorizontal = (Orientation == Orientation.Horizontal); 402(isHorizontal==(Orientation == Orientation.Horizontal)), 506if (!IsVSP45Compat && Orientation == Orientation.Horizontal) 634if (!IsVSP45Compat && Orientation == Orientation.Vertical) 731bool isHorizontal = (Orientation == Orientation.Horizontal); 872bool isHorizontal = (Orientation == Orientation.Horizontal); 1429SetAnchorInformation(Orientation == Orientation.Horizontal); 1445SetAnchorInformation(Orientation == Orientation.Horizontal); 1483bool isHorizontal = (Orientation == Orientation.Horizontal); 1763public Orientation Orientation 1765get { return (Orientation) GetValue(OrientationProperty); } 1781protected internal override Orientation LogicalOrientation 1790DependencyProperty.Register("Orientation", typeof(Orientation), typeof(VirtualizingStackPanel), 1791new FrameworkPropertyMetadata(Orientation.Vertical, 2162bool isHorizontal = (Orientation == Orientation.Horizontal); 3315bool isHorizontal = (Orientation == Orientation.Horizontal); 3766bool isHorizontal = (Orientation == Orientation.Horizontal); 3959bool isHorizontal = (Orientation == Orientation.Horizontal); 4100isChildHorizontal = (virtualizingChild.ItemsHost.LogicalOrientationPublic == Orientation.Horizontal); 10977bool isHorizontal = (Orientation == Orientation.Horizontal); 11018bool isHorizontal = (Orientation == Orientation.Horizontal); 11184bool fHorizontal = (Orientation == Orientation.Horizontal);
System\Windows\Controls\WrapPanel.cs (15)
41_orientation = (Orientation) OrientationProperty.GetDefaultValue(DependencyObjectType); 136Orientation.Horizontal, 147public Orientation Orientation 159p._orientation = (Orientation) e.NewValue; 162private Orientation _orientation; 176internal UVSize (Orientation orientation, double width, double height) 184internal UVSize (Orientation orientation) 192private Orientation _orientation; 196get { return (_orientation == Orientation.Horizontal ? U : V); } 197set { if(_orientation == Orientation.Horizontal) U = value; else V = value; } 201get { return (_orientation == Orientation.Horizontal ? V : U); } 202set { if(_orientation == Orientation.Horizontal) V = value; else U = value; } 277double itemU = (Orientation == Orientation.Horizontal ? itemWidth : itemHeight); 282bool useItemU = (Orientation == Orientation.Horizontal ? itemWidthSet : itemHeightSet); 332bool isHorizontal = (Orientation == Orientation.Horizontal);
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (4)
4036TypeConverterType = typeof(System.Windows.Controls.Orientation) 7834TypeConverterType = typeof(System.Windows.Controls.Orientation) 8223TypeConverterType = typeof(System.Windows.Controls.Orientation) 8880TypeConverterType = typeof(System.Windows.Controls.Orientation),
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (2)
12996typeof(System.Windows.Controls.Orientation), 13000TypeConverterType = typeof(System.Windows.Controls.Orientation)
PresentationFramework.Aero (7)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
24if (Orientation == Orientation.Vertical) 35bool horizontal = Orientation == Orientation.Horizontal;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (5)
108public Orientation Orientation 110get { return (Orientation)GetValue(OrientationProperty); } 118DependencyProperty.Register("Orientation", typeof(Orientation), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Orientation.Vertical, FrameworkPropertyMetadataOptions.AffectsRender)); 257if (Orientation == Orientation.Vertical)
PresentationFramework.Aero2 (7)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
24if (Orientation == Orientation.Vertical) 35bool horizontal = Orientation == Orientation.Horizontal;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (5)
108public Orientation Orientation 110get { return (Orientation)GetValue(OrientationProperty); } 118DependencyProperty.Register("Orientation", typeof(Orientation), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Orientation.Vertical, FrameworkPropertyMetadataOptions.AffectsRender)); 257if (Orientation == Orientation.Vertical)
PresentationFramework.AeroLite (7)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
24if (Orientation == Orientation.Vertical) 35bool horizontal = Orientation == Orientation.Horizontal;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (5)
108public Orientation Orientation 110get { return (Orientation)GetValue(OrientationProperty); } 118DependencyProperty.Register("Orientation", typeof(Orientation), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Orientation.Vertical, FrameworkPropertyMetadataOptions.AffectsRender)); 257if (Orientation == Orientation.Vertical)
PresentationFramework.Classic (6)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
48bool horizontal = Orientation == Orientation.Horizontal;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (5)
108public Orientation Orientation 110get { return (Orientation)GetValue(OrientationProperty); } 118DependencyProperty.Register("Orientation", typeof(Orientation), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Orientation.Vertical, FrameworkPropertyMetadataOptions.AffectsRender)); 257if (Orientation == Orientation.Vertical)
PresentationFramework.Luna (6)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
75bool horizontal = Orientation == Orientation.Horizontal;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (5)
108public Orientation Orientation 110get { return (Orientation)GetValue(OrientationProperty); } 118DependencyProperty.Register("Orientation", typeof(Orientation), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Orientation.Vertical, FrameworkPropertyMetadataOptions.AffectsRender)); 257if (Orientation == Orientation.Vertical)
PresentationFramework.Royale (6)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
31bool horizontal = Orientation == Orientation.Horizontal;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (5)
108public Orientation Orientation 110get { return (Orientation)GetValue(OrientationProperty); } 118DependencyProperty.Register("Orientation", typeof(Orientation), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Orientation.Vertical, FrameworkPropertyMetadataOptions.AffectsRender)); 257if (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)
42OrientationProperty.OverrideMetadata(typeof(RibbonGroupsPanel), new FrameworkPropertyMetadata(Orientation.Horizontal, null, new CoerceValueCallback(CoerceOrientation))); 533return Orientation.Horizontal;
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonMenuItemsPanel.cs (1)
21OrientationProperty.OverrideMetadata(typeof(RibbonMenuItemsPanel), new FrameworkPropertyMetadata(Orientation.Vertical));
Microsoft\Windows\Controls\Ribbon\RibbonControlGroup.cs (1)
39fef.SetValue(StackPanel.OrientationProperty, Orientation.Horizontal);