1 instantiation of Orientation
PresentationFramework (1)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
11691bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.Orientation(); };
189 references to Orientation
PresentationFramework (146)
System\Windows\Automation\Peers\ScrollBarAutomationPeer.cs (2)
53return ((ScrollBar)Owner).Orientation == Orientation.Horizontal ? 71if (sb.Orientation == Orientation.Horizontal)
System\Windows\Controls\ItemsControl.cs (11)
2015bool isHorizontal = (ItemsHost != null && ItemsHost.HasLogicalOrientation && ItemsHost.LogicalOrientation == Orientation.Horizontal); 2296bool isHorizontal = (ItemsHost.HasLogicalOrientation && ItemsHost.LogicalOrientation == Orientation.Horizontal); 2381bool isHorizontal = (ItemsHost.HasLogicalOrientation && ItemsHost.LogicalOrientation == Orientation.Horizontal); 2447bool isHorizontal = (ItemsHost.HasLogicalOrientation && ItemsHost.LogicalOrientation == Orientation.Horizontal); 2590isHorizontal = (ItemsHost.HasLogicalOrientation && ItemsHost.LogicalOrientation == Orientation.Horizontal); 2639bool isHorizontal = (ItemsHost.HasLogicalOrientation && ItemsHost.LogicalOrientation == Orientation.Horizontal); 2740bool isHorizontal = (ItemsHost.HasLogicalOrientation && ItemsHost.LogicalOrientation == Orientation.Horizontal); 2793bool isHorizontal = (ItemsHost.HasLogicalOrientation && ItemsHost.LogicalOrientation == Orientation.Horizontal); 2794bool isVertical = (ItemsHost.HasLogicalOrientation && ItemsHost.LogicalOrientation == Orientation.Vertical); 3299return (ItemsHost != null && ItemsHost.HasLogicalOrientation && ItemsHost.LogicalOrientation == Orientation.Vertical && 3309return (ItemsHost != null && ItemsHost.HasLogicalOrientation && ItemsHost.LogicalOrientation == Orientation.Horizontal &&
System\Windows\Controls\Menu.cs (2)
203bool isVertical = itemsHost != null && itemsHost.HasLogicalOrientation && itemsHost.LogicalOrientation == Orientation.Vertical; 217bool isVertical = itemsHost != null && itemsHost.HasLogicalOrientation && itemsHost.LogicalOrientation == Orientation.Vertical;
System\Windows\Controls\Panel.cs (3)
296public Orientation LogicalOrientationPublic 305protected internal virtual Orientation LogicalOrientation 307get { return Orientation.Vertical; }
System\Windows\Controls\Primitives\ScrollBar.cs (13)
87public Orientation Orientation 89get { return (Orientation) GetValue(OrientationProperty); } 109= DependencyProperty.Register("Orientation", typeof(Orientation), typeof(ScrollBar), 110new FrameworkPropertyMetadata(Orientation.Vertical), 347if (Orientation == Orientation.Horizontal) 413RoutedCommand command = (Orientation == Orientation.Horizontal) ? DeferScrollToHorizontalOffsetCommand : DeferScrollToVerticalOffsetCommand; 431bool horizontal = (Orientation == Orientation.Horizontal); 496if (scrollBar.Orientation == Orientation.Vertical) 741Orientation value = (Orientation)o; 742return value == Orientation.Horizontal 743|| value == Orientation.Vertical; 796if (sb.Orientation == Orientation.Vertical)
System\Windows\Controls\Primitives\TickBar.cs (1)
710if (parent.Orientation == Orientation.Horizontal)
System\Windows\Controls\Primitives\ToolBarPanel.cs (2)
246bool horizontal = (Orientation == Orientation.Horizontal); 297bool fHorizontal = (Orientation == Orientation.Horizontal);
System\Windows\Controls\Primitives\Track.cs (8)
74if (Orientation == Orientation.Horizontal) 98if (Orientation == Orientation.Horizontal) 238DependencyProperty.Register("Orientation", typeof(Orientation), typeof(Track), 239new FrameworkPropertyMetadata(Orientation.Horizontal, FrameworkPropertyMetadataOptions.AffectsMeasure), 246public Orientation Orientation 248get { return (Orientation)GetValue(OrientationProperty); } 442if (Orientation == Orientation.Vertical) 479bool isVertical = (Orientation == Orientation.Vertical);
System\Windows\Controls\ProgressBar.cs (8)
135typeof(Orientation), 138Orientation.Horizontal, 146public Orientation Orientation 148get { return (Orientation) GetValue(OrientationProperty); } 154Orientation value = (Orientation)o; 155return value == Orientation.Horizontal 156|| value == Orientation.Vertical;
System\Windows\Controls\ScrollViewer.cs (1)
2717hsb.SetValue(ScrollBar.OrientationProperty, Orientation.Horizontal);
System\Windows\Controls\Slider.cs (8)
281DependencyProperty.Register("Orientation", typeof(Orientation), typeof(Slider), 282new FrameworkPropertyMetadata(Orientation.Horizontal), 288public Orientation Orientation 290get { return (Orientation)GetValue(OrientationProperty); } 939if (Orientation == Orientation.Horizontal) 958if (Orientation == Orientation.Horizontal) 1009if (Orientation == Orientation.Horizontal) 1074if (Orientation == Orientation.Horizontal)
System\Windows\Controls\Stack.cs (18)
34Orientation Orientation { get; } 98SetVerticalOffset(VerticalOffset - ((Orientation == Orientation.Vertical) ? 1.0 : ScrollViewer._scrollLineDelta)); 106SetVerticalOffset(VerticalOffset + ((Orientation == Orientation.Vertical) ? 1.0 : ScrollViewer._scrollLineDelta)); 114SetHorizontalOffset(HorizontalOffset - ((Orientation == Orientation.Horizontal) ? 1.0 : ScrollViewer._scrollLineDelta)); 122SetHorizontalOffset(HorizontalOffset + ((Orientation == Orientation.Horizontal) ? 1.0 : ScrollViewer._scrollLineDelta)); 164SetVerticalOffset(VerticalOffset - SystemParameters.WheelScrollLines * ((Orientation == Orientation.Vertical) ? 1.0 : ScrollViewer._scrollLineDelta)); 179SetVerticalOffset(VerticalOffset + SystemParameters.WheelScrollLines * ((Orientation == Orientation.Vertical) ? 1.0 : ScrollViewer._scrollLineDelta)); 192SetHorizontalOffset(HorizontalOffset - 3.0 * ((Orientation == Orientation.Horizontal) ? 1.0 : ScrollViewer._scrollLineDelta)); 200SetHorizontalOffset(HorizontalOffset + 3.0 * ((Orientation == Orientation.Horizontal) ? 1.0 : ScrollViewer._scrollLineDelta)); 303public Orientation Orientation 305get { return (Orientation) GetValue(OrientationProperty); } 315typeof(Orientation), 318Orientation.Vertical, 335protected internal override Orientation LogicalOrientation 559bool fHorizontal = (measureElement.Orientation == Orientation.Horizontal); 725bool fHorizontal = (arrangeElement.Orientation == Orientation.Horizontal); 881bool fHorizontal = (Orientation == Orientation.Horizontal); 923bool fHorizontal = (Orientation == Orientation.Horizontal);
System\Windows\Controls\ToolBar.cs (5)
109typeof(Orientation), 112Orientation.Horizontal, 131public Orientation Orientation 135return (Orientation) GetValue(OrientationProperty); 556if (toolBarPanel.Orientation == Orientation.Horizontal)
System\Windows\Controls\ToolBarTray.cs (10)
100typeof(Orientation), 103Orientation.Horizontal, 122public Orientation Orientation 124get { return (Orientation) GetValue(OrientationProperty); } 357bool fHorizontal = (Orientation == Orientation.Horizontal); 424bool fHorizontal = (Orientation == Orientation.Horizontal); 530bool fHorizontal = (Orientation == Orientation.Horizontal); 678if (Orientation == Orientation.Horizontal) 726if (Orientation == Orientation.Horizontal) 775bool fHorizontal = Orientation == Orientation.Horizontal;
System\Windows\Controls\VirtualizingStackPanel.cs (33)
143bool isHorizontal = (Orientation == Orientation.Horizontal); 163bool isHorizontal = (Orientation == Orientation.Horizontal); 183bool isHorizontal = (Orientation == Orientation.Horizontal); 203bool isHorizontal = (Orientation == Orientation.Horizontal); 223bool isHorizontal = (Orientation == Orientation.Horizontal); 243bool isHorizontal = (Orientation == Orientation.Horizontal); 263bool isHorizontal = (Orientation == Orientation.Horizontal); 283bool isHorizontal = (Orientation == Orientation.Horizontal); 306bool isHorizontal = (Orientation == Orientation.Horizontal); 334bool isHorizontal = (Orientation == Orientation.Horizontal); 359bool isHorizontal = (Orientation == Orientation.Horizontal); 379bool isHorizontal = (Orientation == Orientation.Horizontal); 408(isHorizontal==(Orientation == Orientation.Horizontal)), 512if (!IsVSP45Compat && Orientation == Orientation.Horizontal) 640if (!IsVSP45Compat && Orientation == Orientation.Vertical) 737bool isHorizontal = (Orientation == Orientation.Horizontal); 878bool isHorizontal = (Orientation == Orientation.Horizontal); 1435SetAnchorInformation(Orientation == Orientation.Horizontal); 1451SetAnchorInformation(Orientation == Orientation.Horizontal); 1489bool isHorizontal = (Orientation == Orientation.Horizontal); 1779public Orientation Orientation 1781get { return (Orientation) GetValue(OrientationProperty); } 1797protected internal override Orientation LogicalOrientation 1806DependencyProperty.Register("Orientation", typeof(Orientation), typeof(VirtualizingStackPanel), 1807new FrameworkPropertyMetadata(Orientation.Vertical, 2179bool isHorizontal = (Orientation == Orientation.Horizontal); 3335bool isHorizontal = (Orientation == Orientation.Horizontal); 3786bool isHorizontal = (Orientation == Orientation.Horizontal); 3979bool isHorizontal = (Orientation == Orientation.Horizontal); 4126isChildHorizontal = (virtualizingChild.ItemsHost.LogicalOrientationPublic == Orientation.Horizontal); 11005bool isHorizontal = (Orientation == Orientation.Horizontal); 11046bool isHorizontal = (Orientation == Orientation.Horizontal); 11212bool fHorizontal = (Orientation == Orientation.Horizontal);
System\Windows\Controls\WrapPanel.cs (15)
52_orientation = (Orientation) OrientationProperty.GetDefaultValue(DependencyObjectType); 147Orientation.Horizontal, 158public Orientation Orientation 170p._orientation = (Orientation) e.NewValue; 173private Orientation _orientation; 187internal UVSize (Orientation orientation, double width, double height) 195internal UVSize (Orientation orientation) 203private Orientation _orientation; 207get { return (_orientation == Orientation.Horizontal ? U : V); } 208set { if(_orientation == Orientation.Horizontal) U = value; else V = value; } 212get { return (_orientation == Orientation.Horizontal ? V : U); } 213set { if(_orientation == Orientation.Horizontal) V = value; else U = value; } 288double itemU = (Orientation == Orientation.Horizontal ? itemWidth : itemHeight); 293bool useItemU = (Orientation == Orientation.Horizontal ? itemWidthSet : itemHeightSet); 343bool isHorizontal = (Orientation == Orientation.Horizontal);
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (4)
3850bamlMember.TypeConverterType = typeof(System.Windows.Controls.Orientation); 7272bamlMember.TypeConverterType = typeof(System.Windows.Controls.Orientation); 7621bamlMember.TypeConverterType = typeof(System.Windows.Controls.Orientation); 8210bamlMember.TypeConverterType = typeof(System.Windows.Controls.Orientation);
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (2)
11689typeof(System.Windows.Controls.Orientation), 11692bamlType.TypeConverterType = typeof(System.Windows.Controls.Orientation);
PresentationFramework.Aero (7)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
28if (Orientation == Orientation.Vertical) 39bool 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)
28if (Orientation == Orientation.Vertical) 39bool 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)
28if (Orientation == Orientation.Vertical) 39bool 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)
53bool 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)
79bool 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)
35bool 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)
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGroupsPanel.cs (2)
48OrientationProperty.OverrideMetadata(typeof(RibbonGroupsPanel), new FrameworkPropertyMetadata(Orientation.Horizontal, null, new CoerceValueCallback(CoerceOrientation))); 539return Orientation.Horizontal;
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonMenuItemsPanel.cs (1)
26OrientationProperty.OverrideMetadata(typeof(RibbonMenuItemsPanel), new FrameworkPropertyMetadata(Orientation.Vertical));
Microsoft\Windows\Controls\Ribbon\RibbonControlGroup.cs (1)
43fef.SetValue(StackPanel.OrientationProperty, Orientation.Horizontal);