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