1 instantiation of ScrollBarVisibility
PresentationFramework (1)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
11743bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.ScrollBarVisibility(); };
77 references to ScrollBarVisibility
PresentationFramework (74)
MS\Internal\Documents\TextBoxView.cs (2)
2251if ((ScrollBarVisibility)((Control)_host).GetValue(ScrollViewer.VerticalScrollBarVisibilityProperty) == ScrollBarVisibility.Auto)
MS\Internal\LayoutDump.cs (2)
518if (fdsv.HorizontalScrollBarVisibility == ScrollBarVisibility.Hidden && fdsv.VerticalScrollBarVisibility == ScrollBarVisibility.Hidden)
System\Windows\Controls\DataGrid.cs (6)
1512public ScrollBarVisibility HorizontalScrollBarVisibility 1514get { return (ScrollBarVisibility)GetValue(HorizontalScrollBarVisibilityProperty); } 1521public static readonly DependencyProperty HorizontalScrollBarVisibilityProperty = ScrollViewer.HorizontalScrollBarVisibilityProperty.AddOwner(typeof(DataGrid), new FrameworkPropertyMetadata(ScrollBarVisibility.Auto)); 1526public ScrollBarVisibility VerticalScrollBarVisibility 1528get { return (ScrollBarVisibility)GetValue(VerticalScrollBarVisibilityProperty); } 1535public static readonly DependencyProperty VerticalScrollBarVisibilityProperty = ScrollViewer.VerticalScrollBarVisibilityProperty.AddOwner(typeof(DataGrid), new FrameworkPropertyMetadata(ScrollBarVisibility.Auto));
System\Windows\Controls\FlowDocumentScrollViewer.cs (6)
301public ScrollBarVisibility HorizontalScrollBarVisibility 303get { return (ScrollBarVisibility)GetValue(HorizontalScrollBarVisibilityProperty); } 310public ScrollBarVisibility VerticalScrollBarVisibility 312get { return (ScrollBarVisibility)GetValue(VerticalScrollBarVisibilityProperty); } 464new FrameworkPropertyMetadata(ScrollBarVisibility.Auto)); 472new FrameworkPropertyMetadata(ScrollBarVisibility.Visible));
System\Windows\Controls\PasswordBox.cs (2)
1164this.ScrollViewer.HorizontalScrollBarVisibility = ScrollBarVisibility.Hidden; 1165this.ScrollViewer.VerticalScrollBarVisibility = ScrollBarVisibility.Disabled;
System\Windows\Controls\Primitives\TextBoxBase.cs (6)
531ScrollBarVisibility.Hidden, 537public ScrollBarVisibility HorizontalScrollBarVisibility 539get { return (ScrollBarVisibility) GetValue(HorizontalScrollBarVisibilityProperty); } 550new FrameworkPropertyMetadata(ScrollBarVisibility.Hidden, 556public ScrollBarVisibility VerticalScrollBarVisibility 558get { return (ScrollBarVisibility) GetValue(VerticalScrollBarVisibilityProperty); }
System\Windows\Controls\ScrollViewer.cs (34)
258if ( HorizontalScrollBarVisibility == ScrollBarVisibility.Auto 271if (VerticalScrollBarVisibility == ScrollBarVisibility.Auto 317/// HorizonalScollbarVisibility is a <see cref="System.Windows.Controls.ScrollBarVisibility" /> that 321public ScrollBarVisibility HorizontalScrollBarVisibility 323get { return (ScrollBarVisibility) GetValue(HorizontalScrollBarVisibilityProperty); } 328/// VerticalScrollBarVisibility is a <see cref="System.Windows.Controls.ScrollBarVisibility" /> that 332public ScrollBarVisibility VerticalScrollBarVisibility 334get { return (ScrollBarVisibility) GetValue(VerticalScrollBarVisibilityProperty); } 483typeof(ScrollBarVisibility), 486ScrollBarVisibility.Disabled, 493public static void SetHorizontalScrollBarVisibility(DependencyObject element, ScrollBarVisibility horizontalScrollBarVisibility) 503public static ScrollBarVisibility GetHorizontalScrollBarVisibility(DependencyObject element) 507return ((ScrollBarVisibility)element.GetValue(HorizontalScrollBarVisibilityProperty)); 517typeof(ScrollBarVisibility), 520ScrollBarVisibility.Visible, 527public static void SetVerticalScrollBarVisibility(DependencyObject element, ScrollBarVisibility verticalScrollBarVisibility) 537public static ScrollBarVisibility GetVerticalScrollBarVisibility(DependencyObject element) 541return ((ScrollBarVisibility)element.GetValue(VerticalScrollBarVisibilityProperty)); 1151ScrollBarVisibility vsbv = VerticalScrollBarVisibility; 1152ScrollBarVisibility hsbv = HorizontalScrollBarVisibility; 1165bool vsbAuto = (vsbv == ScrollBarVisibility.Auto); 1166bool hsbAuto = (hsbv == ScrollBarVisibility.Auto); 1167bool vDisableScroll = (vsbv == ScrollBarVisibility.Disabled); 1168bool hDisableScroll = (hsbv == ScrollBarVisibility.Disabled); 1169Visibility vv = (vsbv == ScrollBarVisibility.Visible) ? Visibility.Visible : Visibility.Collapsed; 1170Visibility hv = (hsbv == ScrollBarVisibility.Visible) ? Visibility.Visible : Visibility.Collapsed; 1409_scrollInfo.CanHorizontallyScroll = (HorizontalScrollBarVisibility != ScrollBarVisibility.Disabled); 1410_scrollInfo.CanVerticallyScroll = (VerticalScrollBarVisibility != ScrollBarVisibility.Disabled); 2933ScrollBarVisibility value = (ScrollBarVisibility)o; 2934return (value == ScrollBarVisibility.Disabled 2935|| value == ScrollBarVisibility.Auto 2936|| value == ScrollBarVisibility.Hidden 2937|| value == ScrollBarVisibility.Visible);
System\Windows\Controls\TextBox.cs (2)
74ScrollBarVisibility.Hidden, 1501return ScrollBarVisibility.Disabled;
System\Windows\Controls\VirtualizingStackPanel.cs (8)
9906ScrollBarVisibility vsbv = sv.VerticalScrollBarVisibility; 9907bool vsbAuto = (vsbv == ScrollBarVisibility.Auto); 9922ScrollBarVisibility hsbv = sv.HorizontalScrollBarVisibility; 9923bool hsbAuto = (hsbv == ScrollBarVisibility.Auto); 10623ScrollBarVisibility vsbv = sv.VerticalScrollBarVisibility; 10624bool vsbAuto = (vsbv == ScrollBarVisibility.Auto); 10639ScrollBarVisibility hsbv = sv.HorizontalScrollBarVisibility; 10640bool hsbAuto = (hsbv == ScrollBarVisibility.Auto);
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (4)
3358bamlMember.TypeConverterType = typeof(System.Windows.Controls.ScrollBarVisibility); 3375bamlMember.TypeConverterType = typeof(System.Windows.Controls.ScrollBarVisibility); 8228bamlMember.TypeConverterType = typeof(System.Windows.Controls.ScrollBarVisibility); 8245bamlMember.TypeConverterType = typeof(System.Windows.Controls.ScrollBarVisibility);
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (2)
11741typeof(System.Windows.Controls.ScrollBarVisibility), 11744bamlType.TypeConverterType = typeof(System.Windows.Controls.ScrollBarVisibility);
Roslyn.VisualStudio.DiagnosticsWindow (3)
OptionPages\InternalOptionsControl.cs (2)
34VerticalScrollBarVisibility = ScrollBarVisibility.Auto, 35HorizontalScrollBarVisibility = ScrollBarVisibility.Auto
PerfMargin\PerfMarginPanel.cs (1)
116listView.SetValue(ScrollViewer.HorizontalScrollBarVisibilityProperty, ScrollBarVisibility.Disabled);