1 instantiation of ScrollBarVisibility
PresentationFramework (1)
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
11739
bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.
ScrollBarVisibility
(); };
92 references to ScrollBarVisibility
PresentationFramework (74)
src\Framework\MS\Internal\Documents\TextBoxView.cs (2)
2247
if ((
ScrollBarVisibility
)((Control)_host).GetValue(ScrollViewer.VerticalScrollBarVisibilityProperty) ==
ScrollBarVisibility
.Auto)
src\Framework\MS\Internal\LayoutDump.cs (2)
521
if (fdsv.HorizontalScrollBarVisibility ==
ScrollBarVisibility
.Hidden && fdsv.VerticalScrollBarVisibility ==
ScrollBarVisibility
.Hidden)
src\Framework\System\Windows\Controls\DataGrid.cs (6)
1513
public
ScrollBarVisibility
HorizontalScrollBarVisibility
1515
get { return (
ScrollBarVisibility
)GetValue(HorizontalScrollBarVisibilityProperty); }
1522
public static readonly DependencyProperty HorizontalScrollBarVisibilityProperty = ScrollViewer.HorizontalScrollBarVisibilityProperty.AddOwner(typeof(DataGrid), new FrameworkPropertyMetadata(
ScrollBarVisibility
.Auto));
1527
public
ScrollBarVisibility
VerticalScrollBarVisibility
1529
get { return (
ScrollBarVisibility
)GetValue(VerticalScrollBarVisibilityProperty); }
1536
public static readonly DependencyProperty VerticalScrollBarVisibilityProperty = ScrollViewer.VerticalScrollBarVisibilityProperty.AddOwner(typeof(DataGrid), new FrameworkPropertyMetadata(
ScrollBarVisibility
.Auto));
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (6)
302
public
ScrollBarVisibility
HorizontalScrollBarVisibility
304
get { return (
ScrollBarVisibility
)GetValue(HorizontalScrollBarVisibilityProperty); }
311
public
ScrollBarVisibility
VerticalScrollBarVisibility
313
get { return (
ScrollBarVisibility
)GetValue(VerticalScrollBarVisibilityProperty); }
465
new FrameworkPropertyMetadata(
ScrollBarVisibility
.Auto));
473
new FrameworkPropertyMetadata(
ScrollBarVisibility
.Visible));
src\Framework\System\Windows\Controls\PasswordBox.cs (2)
1187
this.ScrollViewer.HorizontalScrollBarVisibility =
ScrollBarVisibility
.Hidden;
1188
this.ScrollViewer.VerticalScrollBarVisibility =
ScrollBarVisibility
.Disabled;
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (6)
554
ScrollBarVisibility
.Hidden,
560
public
ScrollBarVisibility
HorizontalScrollBarVisibility
562
get { return (
ScrollBarVisibility
) GetValue(HorizontalScrollBarVisibilityProperty); }
573
new FrameworkPropertyMetadata(
ScrollBarVisibility
.Hidden,
579
public
ScrollBarVisibility
VerticalScrollBarVisibility
581
get { return (
ScrollBarVisibility
) GetValue(VerticalScrollBarVisibilityProperty); }
src\Framework\System\Windows\Controls\ScrollViewer.cs (34)
261
if ( HorizontalScrollBarVisibility ==
ScrollBarVisibility
.Auto
274
if (VerticalScrollBarVisibility ==
ScrollBarVisibility
.Auto
320
/// HorizonalScollbarVisibility is a <see cref="System.Windows.Controls.
ScrollBarVisibility
" /> that
324
public
ScrollBarVisibility
HorizontalScrollBarVisibility
326
get { return (
ScrollBarVisibility
) GetValue(HorizontalScrollBarVisibilityProperty); }
331
/// VerticalScrollBarVisibility is a <see cref="System.Windows.Controls.
ScrollBarVisibility
" /> that
335
public
ScrollBarVisibility
VerticalScrollBarVisibility
337
get { return (
ScrollBarVisibility
) GetValue(VerticalScrollBarVisibilityProperty); }
492
typeof(
ScrollBarVisibility
),
495
ScrollBarVisibility
.Disabled,
502
public static void SetHorizontalScrollBarVisibility(DependencyObject element,
ScrollBarVisibility
horizontalScrollBarVisibility)
515
public static
ScrollBarVisibility
GetHorizontalScrollBarVisibility(DependencyObject element)
522
return ((
ScrollBarVisibility
)element.GetValue(HorizontalScrollBarVisibilityProperty));
532
typeof(
ScrollBarVisibility
),
535
ScrollBarVisibility
.Visible,
542
public static void SetVerticalScrollBarVisibility(DependencyObject element,
ScrollBarVisibility
verticalScrollBarVisibility)
555
public static
ScrollBarVisibility
GetVerticalScrollBarVisibility(DependencyObject element)
562
return ((
ScrollBarVisibility
)element.GetValue(VerticalScrollBarVisibilityProperty));
1178
ScrollBarVisibility
vsbv = VerticalScrollBarVisibility;
1179
ScrollBarVisibility
hsbv = HorizontalScrollBarVisibility;
1192
bool vsbAuto = (vsbv ==
ScrollBarVisibility
.Auto);
1193
bool hsbAuto = (hsbv ==
ScrollBarVisibility
.Auto);
1194
bool vDisableScroll = (vsbv ==
ScrollBarVisibility
.Disabled);
1195
bool hDisableScroll = (hsbv ==
ScrollBarVisibility
.Disabled);
1196
Visibility vv = (vsbv ==
ScrollBarVisibility
.Visible) ? Visibility.Visible : Visibility.Collapsed;
1197
Visibility hv = (hsbv ==
ScrollBarVisibility
.Visible) ? Visibility.Visible : Visibility.Collapsed;
1437
_scrollInfo.CanHorizontallyScroll = (HorizontalScrollBarVisibility !=
ScrollBarVisibility
.Disabled);
1438
_scrollInfo.CanVerticallyScroll = (VerticalScrollBarVisibility !=
ScrollBarVisibility
.Disabled);
2973
ScrollBarVisibility
value = (
ScrollBarVisibility
)o;
2974
return (value ==
ScrollBarVisibility
.Disabled
2975
|| value ==
ScrollBarVisibility
.Auto
2976
|| value ==
ScrollBarVisibility
.Hidden
2977
|| value ==
ScrollBarVisibility
.Visible);
src\Framework\System\Windows\Controls\TextBox.cs (2)
76
ScrollBarVisibility
.Hidden,
1493
return
ScrollBarVisibility
.Disabled;
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (8)
9756
ScrollBarVisibility
vsbv = sv.VerticalScrollBarVisibility;
9757
bool vsbAuto = (vsbv ==
ScrollBarVisibility
.Auto);
9772
ScrollBarVisibility
hsbv = sv.HorizontalScrollBarVisibility;
9773
bool hsbAuto = (hsbv ==
ScrollBarVisibility
.Auto);
10473
ScrollBarVisibility
vsbv = sv.VerticalScrollBarVisibility;
10474
bool vsbAuto = (vsbv ==
ScrollBarVisibility
.Auto);
10489
ScrollBarVisibility
hsbv = sv.HorizontalScrollBarVisibility;
10490
bool hsbAuto = (hsbv ==
ScrollBarVisibility
.Auto);
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (4)
3350
bamlMember.TypeConverterType = typeof(System.Windows.Controls.
ScrollBarVisibility
);
3367
bamlMember.TypeConverterType = typeof(System.Windows.Controls.
ScrollBarVisibility
);
8186
bamlMember.TypeConverterType = typeof(System.Windows.Controls.
ScrollBarVisibility
);
8203
bamlMember.TypeConverterType = typeof(System.Windows.Controls.
ScrollBarVisibility
);
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (2)
11737
typeof(System.Windows.Controls.
ScrollBarVisibility
),
11740
bamlType.TypeConverterType = typeof(System.Windows.Controls.
ScrollBarVisibility
);
System.Activities.Presentation (18)
System.Activities.Presentation\System\Activities\Presentation\Expressions\ExpressionActivityEditor.cs (8)
42
public static readonly DependencyProperty VerticalScrollBarVisibilityProperty = DependencyProperty.Register("VerticalScrollBarVisibility", typeof(
ScrollBarVisibility
), typeof(ExpressionActivityEditor),
43
new FrameworkPropertyMetadata(
ScrollBarVisibility
.Hidden));
45
public static readonly DependencyProperty HorizontalScrollBarVisibilityProperty = DependencyProperty.Register("HorizontalScrollBarVisibility", typeof(
ScrollBarVisibility
), typeof(ExpressionActivityEditor),
46
new FrameworkPropertyMetadata(
ScrollBarVisibility
.Hidden));
131
public
ScrollBarVisibility
VerticalScrollBarVisibility
133
get { return (
ScrollBarVisibility
)GetValue(VerticalScrollBarVisibilityProperty); }
137
public
ScrollBarVisibility
HorizontalScrollBarVisibility
139
get { return (
ScrollBarVisibility
)GetValue(HorizontalScrollBarVisibilityProperty); }
System.Activities.Presentation\System\Activities\Presentation\View\ExpressionTextBox.xaml.cs (8)
53
public static readonly DependencyProperty VerticalScrollBarVisibilityProperty = DependencyProperty.Register("VerticalScrollBarVisibility", typeof(
ScrollBarVisibility
), typeof(ExpressionTextBox),
54
new FrameworkPropertyMetadata(
ScrollBarVisibility
.Hidden));
56
public static readonly DependencyProperty HorizontalScrollBarVisibilityProperty = DependencyProperty.Register("HorizontalScrollBarVisibility", typeof(
ScrollBarVisibility
), typeof(ExpressionTextBox),
57
new FrameworkPropertyMetadata(
ScrollBarVisibility
.Hidden));
149
public
ScrollBarVisibility
VerticalScrollBarVisibility
151
get { return (
ScrollBarVisibility
)GetValue(VerticalScrollBarVisibilityProperty); }
155
public
ScrollBarVisibility
HorizontalScrollBarVisibility
157
get { return (
ScrollBarVisibility
)GetValue(HorizontalScrollBarVisibilityProperty); }
System.Activities.Presentation\System\Activities\Presentation\View\IExpressionEditorInstance.cs (2)
15
ScrollBarVisibility
VerticalScrollBarVisibility { get; set; }
16
ScrollBarVisibility
HorizontalScrollBarVisibility { get; set; }