3 instantiations of ScrollViewer
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
8755
bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.
ScrollViewer
(); };
System\Windows\Markup\KnownTypes.cs (1)
1522
case KnownElements.ScrollViewer: o = new System.Windows.Controls.
ScrollViewer
(); break;
Roslyn.VisualStudio.DiagnosticsWindow (1)
OptionPages\InternalOptionsControl.cs (1)
32
var viewer = new
ScrollViewer
()
316 references to ScrollViewer
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
artifacts\obj\Microsoft.CodeAnalysis.EditorFeatures.Wpf\Release\net472\InlineRename\UI\SmartRename\SmartRenameUserInputComboBox.g.cs (1)
126
((System.Windows.Controls.
ScrollViewer
)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.SuggestionsPanelScrollViewer_MouseDoubleClick);
Microsoft.VisualStudio.LanguageServices (4)
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\ChangeSignature\ChangeSignatureDialog.g.cs (2)
141
internal System.Windows.Controls.
ScrollViewer
Scroller;
364
this.Scroller = ((System.Windows.Controls.
ScrollViewer
)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\PreviewPane\PreviewPane.g.cs (2)
158
internal System.Windows.Controls.
ScrollViewer
PreviewScrollViewer;
268
this.PreviewScrollViewer = ((System.Windows.Controls.
ScrollViewer
)(target));
PresentationFramework (273)
MS\Internal\Documents\DocumentGrid.cs (2)
943
public
ScrollViewer
ScrollOwner
3160
private
ScrollViewer
_scrollOwner;
MS\Internal\Documents\FlowDocumentView.cs (1)
701
ScrollViewer
IScrollInfo.ScrollOwner
MS\Internal\Documents\ScrollData.cs (11)
32
SetVerticalOffset(owner, _offset.Y -
ScrollViewer
._scrollLineDelta);
40
SetVerticalOffset(owner, _offset.Y +
ScrollViewer
._scrollLineDelta);
48
SetHorizontalOffset(owner, _offset.X -
ScrollViewer
._scrollLineDelta);
56
SetHorizontalOffset(owner, _offset.X +
ScrollViewer
._scrollLineDelta);
96
SetVerticalOffset(owner, _offset.Y -
ScrollViewer
._mouseWheelDelta);
104
SetVerticalOffset(owner, _offset.Y +
ScrollViewer
._mouseWheelDelta);
112
SetHorizontalOffset(owner, _offset.X -
ScrollViewer
._mouseWheelDelta);
120
SetHorizontalOffset(owner, _offset.X +
ScrollViewer
._mouseWheelDelta);
231
internal void SetScrollOwner(UIElement owner,
ScrollViewer
value)
366
internal
ScrollViewer
ScrollOwner
471
private
ScrollViewer
_scrollOwner;
MS\Internal\Documents\TextBoxView.cs (2)
379
ScrollViewer
IScrollInfo.ScrollOwner
2249
if ((ScrollBarVisibility)((Control)_host).GetValue(
ScrollViewer
.VerticalScrollBarVisibilityProperty) == ScrollBarVisibility.Auto)
System\Windows\Automation\Peers\DataGridAutomationPeer.cs (1)
90
ScrollViewer
scrollViewer = this.OwningDataGrid.InternalScrollHost;
System\Windows\Automation\Peers\ScrollBarAutomationPeer.cs (2)
58
ScrollViewer
sv = sb.TemplatedParent as
ScrollViewer
;
System\Windows\Automation\Peers\ScrollViewerAutomationPeer.cs (19)
17
public ScrollViewerAutomationPeer(
ScrollViewer
owner): base(owner)
36
ScrollViewer
sv = (
ScrollViewer
)Owner;
82
ScrollViewer
owner = (
ScrollViewer
)Owner;
145
ScrollViewer
owner = (
ScrollViewer
)Owner;
180
ScrollViewer
owner = (
ScrollViewer
)Owner;
194
ScrollViewer
owner = (
ScrollViewer
)Owner;
207
ScrollViewer
owner = (
ScrollViewer
)Owner;
221
ScrollViewer
owner = (
ScrollViewer
)Owner;
267
ScrollViewer
owner = (
ScrollViewer
)Owner;
275
ScrollViewer
owner = (
ScrollViewer
)Owner;
System\Windows\Controls\DataGrid.cs (8)
1518
public static readonly DependencyProperty HorizontalScrollBarVisibilityProperty =
ScrollViewer
.HorizontalScrollBarVisibilityProperty.AddOwner(typeof(DataGrid), new FrameworkPropertyMetadata(ScrollBarVisibility.Auto));
1532
public static readonly DependencyProperty VerticalScrollBarVisibilityProperty =
ScrollViewer
.VerticalScrollBarVisibilityProperty.AddOwner(typeof(DataGrid), new FrameworkPropertyMetadata(ScrollBarVisibility.Auto));
1869
internal
ScrollViewer
InternalScrollHost
1925
_internalScrollHost = DataGridHelper.FindVisualParent<
ScrollViewer
>(_internalItemsHost);
1930
_internalScrollHost = DataGridHelper.FindVisualParent<
ScrollViewer
>(row);
6077
ScrollViewer
scrollHost = InternalScrollHost;
6123
ScrollViewer
scrollHost = InternalScrollHost;
8650
private
ScrollViewer
_internalScrollHost; // Scroll viewer of the datagrid
System\Windows\Controls\DataGridCellsPanel.cs (2)
1984
ScrollViewer
scrollViewer = dataGrid.InternalScrollHost;
2168
ScrollViewer
scrollViewer = parentDataGrid.InternalScrollHost;
System\Windows\Controls\DocumentViewer.cs (5)
33
[TemplatePart(Name = "PART_ContentHost", Type = typeof(
ScrollViewer
))]
1441
internal
ScrollViewer
ScrollViewer
2102
ScrollViewer
contentHost = this.Template.FindName(_contentHostName, this) as
ScrollViewer
;
2612
private
ScrollViewer
_scrollViewer;
System\Windows\Controls\FlowDocumentScrollViewer.cs (8)
34
[TemplatePart(Name = "PART_ContentHost", Type = typeof(
ScrollViewer
))]
123
_contentHost = GetTemplateChild(_contentHostTemplateName) as
ScrollViewer
;
459
ScrollViewer
.HorizontalScrollBarVisibilityProperty.AddOwner(
467
ScrollViewer
.VerticalScrollBarVisibilityProperty.AddOwner(
879
internal
ScrollViewer
ScrollViewer { get { return _contentHost; } }
1565
ScrollViewer
sv = target as
ScrollViewer
;
1816
private
ScrollViewer
_contentHost; // Host for content viewer
System\Windows\Controls\GridViewHeaderRowPresenter.cs (6)
1008
ScrollViewer
oldHeaderSV = _headerSV;
1009
_headerSV = Parent as
ScrollViewer
;
1022
ScrollViewer
oldSV = _mainSV; // backup the old value
1023
_mainSV = TemplatedParent as
ScrollViewer
;
1640
private
ScrollViewer
_mainSV;
1641
private
ScrollViewer
_headerSV;
System\Windows\Controls\GridViewRowPresenter.cs (3)
450
ScrollViewer
scrollViewer = itemsControl.ScrollHost as
ScrollViewer
;
458
_viewPort = scrollViewer.GetTemplateChild(
ScrollViewer
.ScrollContentPresenterTemplateName) as FrameworkElement;
System\Windows\Controls\ItemsControl.cs (6)
2625
ScrollViewer
scrollHost = ScrollHost;
2904
ScrollContentPresenter scp = viewPort.GetTemplateChild(
ScrollViewer
.ScrollContentPresenterTemplateName) as ScrollContentPresenter;
3306
internal
ScrollViewer
ScrollHost
3321
ScrollViewer
scrollViewer = current as
ScrollViewer
;
4030
private
ScrollViewer
_scrollHost;
System\Windows\Controls\ItemsPresenter.cs (2)
282
ScrollViewer
parent = Parent as
ScrollViewer
;
System\Windows\Controls\PasswordBox.cs (8)
790
internal
ScrollViewer
ScrollViewer
798
_scrollViewer = _textEditor._Scroller as
ScrollViewer
;
947
if (_passwordBoxContentHost is
ScrollViewer
)
949
ScrollViewer
scrollViewer = (
ScrollViewer
)_passwordBoxContentHost;
1008
if (_passwordBoxContentHost is
ScrollViewer
)
1010
((
ScrollViewer
)_passwordBoxContentHost).Content = null;
1283
private
ScrollViewer
_scrollViewer;
System\Windows\Controls\Primitives\IScrollInfo.cs (2)
15
/// An IScrollInfo serves as the main scrolling region inside a <see cref="System.Windows.Controls.
ScrollViewer
" />
171
ScrollViewer
ScrollOwner { get; set; }
System\Windows\Controls\Primitives\ScrollBar.cs (1)
79
/// will be bound to one of <see cref="
ScrollViewer
" />'s ViewportSize properties.
System\Windows\Controls\Primitives\ScrollContentPresenter.cs (13)
57
if (IsScrollClient) { SetVerticalOffset(VerticalOffset -
ScrollViewer
._scrollLineDelta); }
64
if (IsScrollClient) { SetVerticalOffset(VerticalOffset +
ScrollViewer
._scrollLineDelta); }
71
if (IsScrollClient) { SetHorizontalOffset(HorizontalOffset -
ScrollViewer
._scrollLineDelta); }
78
if (IsScrollClient) { SetHorizontalOffset(HorizontalOffset +
ScrollViewer
._scrollLineDelta); }
115
if (IsScrollClient) { SetVerticalOffset(VerticalOffset -
ScrollViewer
._mouseWheelDelta); }
122
if (IsScrollClient) { SetVerticalOffset(VerticalOffset +
ScrollViewer
._mouseWheelDelta); }
129
if (IsScrollClient) { SetHorizontalOffset(HorizontalOffset -
ScrollViewer
._mouseWheelDelta); }
136
if (IsScrollClient) { SetHorizontalOffset(HorizontalOffset +
ScrollViewer
._mouseWheelDelta); }
295
public
ScrollViewer
ScrollOwner
305
ScrollViewer
.CanContentScrollProperty.AddOwner(
712
ScrollViewer
scrollContainer = TemplatedParent as
ScrollViewer
;
922
internal
ScrollViewer
_scrollOwner;
System\Windows\Controls\Primitives\SelectiveScrollingGrid.cs (2)
56
ScrollViewer
scrollViewer = DataGridHelper.FindVisualParent<
ScrollViewer
>(element);
System\Windows\Controls\Primitives\TextBoxBase.cs (13)
519
ScrollViewer
.HorizontalScrollBarVisibilityProperty.AddOwner(
539
ScrollViewer
.VerticalScrollBarVisibilityProperty.AddOwner(
1631
OnScrollViewerPropertyChanged(this, new DependencyPropertyChangedEventArgs(
ScrollViewer
.HorizontalScrollBarVisibilityProperty, null /* old value */, this.GetValue(HorizontalScrollBarVisibilityProperty)));
1632
OnScrollViewerPropertyChanged(this, new DependencyPropertyChangedEventArgs(
ScrollViewer
.VerticalScrollBarVisibilityProperty, null /* old value */, this.GetValue(VerticalScrollBarVisibilityProperty)));
1633
OnScrollViewerPropertyChanged(this, new DependencyPropertyChangedEventArgs(
ScrollViewer
.PaddingProperty, null /* old value */, this.GetValue(PaddingProperty)));
1756
internal
ScrollViewer
ScrollViewer
1766
_scrollViewer = _textEditor._Scroller as
ScrollViewer
;
1974
if (_textBoxContentHost is
ScrollViewer
)
1976
ScrollViewer
scrollViewer = (
ScrollViewer
)_textBoxContentHost;
2032
if (_textBoxContentHost is
ScrollViewer
)
2034
((
ScrollViewer
)_textBoxContentHost).Content = null;
2240
private
ScrollViewer
_scrollViewer;
System\Windows\Controls\Primitives\Track.cs (1)
309
/// will be bound to one of <see cref="
ScrollViewer
" />'s ViewportSize properties.
System\Windows\Controls\ScrollChangedEventArgs.cs (12)
53
/// <seealso cref="System.Windows.Controls.
ScrollViewer
.HorizontalOffset"/>
61
/// <seealso cref="System.Windows.Controls.
ScrollViewer
.VerticalOffset"/>
69
/// <seealso cref="System.Windows.Controls.
ScrollViewer
.HorizontalOffset"/>
77
/// <seealso cref="System.Windows.Controls.
ScrollViewer
.VerticalOffset"/>
86
/// <seealso cref="System.Windows.Controls.
ScrollViewer
.ViewportWidth"/>
94
/// <seealso cref="System.Windows.Controls.
ScrollViewer
.ViewportHeight"/>
102
/// <seealso cref="System.Windows.Controls.
ScrollViewer
.ViewportWidth"/>
110
/// <seealso cref="System.Windows.Controls.
ScrollViewer
.ViewportHeight"/>
119
/// <seealso cref="System.Windows.Controls.
ScrollViewer
.ExtentWidth"/>
127
/// <seealso cref="System.Windows.Controls.
ScrollViewer
.ExtentHeight"/>
135
/// <seealso cref="System.Windows.Controls.
ScrollViewer
.ExtentWidth"/>
143
/// <seealso cref="System.Windows.Controls.
ScrollViewer
.ExtentHeight"/>
System\Windows\Controls\ScrollViewer.cs (76)
445
typeof(
ScrollViewer
),
476
typeof(
ScrollViewer
),
510
typeof(
ScrollViewer
),
543
typeof(
ScrollViewer
),
561
typeof(
ScrollViewer
),
580
typeof(
ScrollViewer
),
597
typeof(
ScrollViewer
),
614
typeof(
ScrollViewer
),
648
typeof(
ScrollViewer
),
681
typeof(
ScrollViewer
),
697
typeof(
ScrollViewer
),
713
typeof(
ScrollViewer
),
729
typeof(
ScrollViewer
),
745
typeof(
ScrollViewer
),
761
typeof(
ScrollViewer
),
776
public static readonly DependencyProperty IsDeferredScrollingEnabledProperty = DependencyProperty.RegisterAttached("IsDeferredScrollingEnabled", typeof(bool), typeof(
ScrollViewer
), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
837
typeof(
ScrollViewer
));
1428
typeof(
ScrollViewer
),
1456
ScrollViewer
sv = d as
ScrollViewer
;
1503
typeof(
ScrollViewer
),
1543
typeof(
ScrollViewer
),
2455
ScrollViewer
sv = sender as
ScrollViewer
;
2495
if (args.Parameter is double) { ((
ScrollViewer
)target).DeferScrollToHorizontalOffset((double)args.Parameter); }
2499
if (args.Parameter is double) { ((
ScrollViewer
)target).DeferScrollToVerticalOffset((double)args.Parameter); }
2503
((
ScrollViewer
)target).LineLeft();
2507
((
ScrollViewer
)target).LineRight();
2511
((
ScrollViewer
)target).PageLeft();
2515
((
ScrollViewer
)target).PageRight();
2519
((
ScrollViewer
)target).LineUp();
2523
((
ScrollViewer
)target).LineDown();
2528
((
ScrollViewer
)target).PageUp();
2533
((
ScrollViewer
)target).PageDown();
2537
((
ScrollViewer
)target).ScrollToEnd();
2541
((
ScrollViewer
)target).ScrollToHome();
2545
((
ScrollViewer
)target).ScrollToLeftEnd();
2549
((
ScrollViewer
)target).ScrollToRightEnd();
2553
((
ScrollViewer
)target).ScrollToTop();
2557
((
ScrollViewer
)target).ScrollToBottom();
2561
if (args.Parameter is double) { ((
ScrollViewer
)target).ScrollToHorizontalOffset((double)args.Parameter); }
2565
if (args.Parameter is double) { ((
ScrollViewer
)target).ScrollToVerticalOffset((double)args.Parameter); }
2568
ScrollViewer
sv = target as
ScrollViewer
;
2590
ScrollViewer
scrollViewer = target as
ScrollViewer
;
2611
ScrollViewer
scrollViewer = target as
ScrollViewer
;
2628
CommandHelpers.RegisterCommandHandler(typeof(
ScrollViewer
), ScrollBar.LineLeftCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler);
2629
CommandHelpers.RegisterCommandHandler(typeof(
ScrollViewer
), ScrollBar.LineRightCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler);
2630
CommandHelpers.RegisterCommandHandler(typeof(
ScrollViewer
), ScrollBar.PageLeftCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler);
2631
CommandHelpers.RegisterCommandHandler(typeof(
ScrollViewer
), ScrollBar.PageRightCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler);
2632
CommandHelpers.RegisterCommandHandler(typeof(
ScrollViewer
), ScrollBar.LineUpCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler);
2633
CommandHelpers.RegisterCommandHandler(typeof(
ScrollViewer
), ScrollBar.LineDownCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler);
2634
CommandHelpers.RegisterCommandHandler(typeof(
ScrollViewer
), ScrollBar.PageUpCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler);
2635
CommandHelpers.RegisterCommandHandler(typeof(
ScrollViewer
), ScrollBar.PageDownCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler);
2636
CommandHelpers.RegisterCommandHandler(typeof(
ScrollViewer
), ScrollBar.ScrollToLeftEndCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler);
2637
CommandHelpers.RegisterCommandHandler(typeof(
ScrollViewer
), ScrollBar.ScrollToRightEndCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler);
2638
CommandHelpers.RegisterCommandHandler(typeof(
ScrollViewer
), ScrollBar.ScrollToEndCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler);
2639
CommandHelpers.RegisterCommandHandler(typeof(
ScrollViewer
), ScrollBar.ScrollToHomeCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler);
2640
CommandHelpers.RegisterCommandHandler(typeof(
ScrollViewer
), ScrollBar.ScrollToTopCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler);
2641
CommandHelpers.RegisterCommandHandler(typeof(
ScrollViewer
), ScrollBar.ScrollToBottomCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler);
2642
CommandHelpers.RegisterCommandHandler(typeof(
ScrollViewer
), ScrollBar.ScrollToHorizontalOffsetCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler);
2643
CommandHelpers.RegisterCommandHandler(typeof(
ScrollViewer
), ScrollBar.ScrollToVerticalOffsetCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler);
2644
CommandHelpers.RegisterCommandHandler(typeof(
ScrollViewer
), ScrollBar.DeferScrollToHorizontalOffsetCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler);
2645
CommandHelpers.RegisterCommandHandler(typeof(
ScrollViewer
), ScrollBar.DeferScrollToVerticalOffsetCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler);
2647
CommandHelpers.RegisterCommandHandler(typeof(
ScrollViewer
), ComponentCommands.ScrollPageUp, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler);
2648
CommandHelpers.RegisterCommandHandler(typeof(
ScrollViewer
), ComponentCommands.ScrollPageDown, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler);
2734
template = new ControlTemplate(typeof(
ScrollViewer
));
2908
DefaultStyleKeyProperty.OverrideMetadata(typeof(
ScrollViewer
), new FrameworkPropertyMetadata(typeof(
ScrollViewer
)));
2909
_dType = DependencyObjectType.FromSystemTypeInternal(typeof(
ScrollViewer
));
2914
Control.TemplateProperty.OverrideMetadata(typeof(
ScrollViewer
), new FrameworkPropertyMetadata(template));
2915
IsTabStopProperty.OverrideMetadata(typeof(
ScrollViewer
), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
2916
KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(
ScrollViewer
), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local));
2918
EventManager.RegisterClassHandler(typeof(
ScrollViewer
), RequestBringIntoViewEvent, new RequestBringIntoViewEventHandler(OnRequestBringIntoView));
System\Windows\Controls\Stack.cs (10)
92
SetVerticalOffset(VerticalOffset - ((Orientation == Orientation.Vertical) ? 1.0 :
ScrollViewer
._scrollLineDelta));
100
SetVerticalOffset(VerticalOffset + ((Orientation == Orientation.Vertical) ? 1.0 :
ScrollViewer
._scrollLineDelta));
108
SetHorizontalOffset(HorizontalOffset - ((Orientation == Orientation.Horizontal) ? 1.0 :
ScrollViewer
._scrollLineDelta));
116
SetHorizontalOffset(HorizontalOffset + ((Orientation == Orientation.Horizontal) ? 1.0 :
ScrollViewer
._scrollLineDelta));
158
SetVerticalOffset(VerticalOffset - SystemParameters.WheelScrollLines * ((Orientation == Orientation.Vertical) ? 1.0 :
ScrollViewer
._scrollLineDelta));
173
SetVerticalOffset(VerticalOffset + SystemParameters.WheelScrollLines * ((Orientation == Orientation.Vertical) ? 1.0 :
ScrollViewer
._scrollLineDelta));
186
SetHorizontalOffset(HorizontalOffset - 3.0 * ((Orientation == Orientation.Horizontal) ? 1.0 :
ScrollViewer
._scrollLineDelta));
194
SetHorizontalOffset(HorizontalOffset + 3.0 * ((Orientation == Orientation.Horizontal) ? 1.0 :
ScrollViewer
._scrollLineDelta));
464
public
ScrollViewer
ScrollOwner
1118
internal
ScrollViewer
_scrollOwner; // ScrollViewer to which we're attached.
System\Windows\Controls\TreeView.cs (1)
625
ScrollViewer
scroller = ScrollHost;
System\Windows\Controls\VirtualizingStackPanel.cs (21)
140
? VerticalOffset -
ScrollViewer
._scrollLineDelta
160
? VerticalOffset +
ScrollViewer
._scrollLineDelta
180
? HorizontalOffset -
ScrollViewer
._scrollLineDelta
200
? HorizontalOffset +
ScrollViewer
._scrollLineDelta
303
? VerticalOffset - lines *
ScrollViewer
._scrollLineDelta
331
? VerticalOffset + lines *
ScrollViewer
._scrollLineDelta
356
? HorizontalOffset - 3.0 *
ScrollViewer
._scrollLineDelta
376
? HorizontalOffset + 3.0 *
ScrollViewer
._scrollLineDelta
1937
public
ScrollViewer
ScrollOwner
3373
ScrollViewer
scrollOwner = ScrollOwner;
4741
_previousStackPixelSizeInViewport.Width / _previousStackLogicalSizeInViewport.Width :
ScrollViewer
._scrollLineDelta;
4857
_previousStackPixelSizeInViewport.Height / _previousStackLogicalSizeInViewport.Height :
ScrollViewer
._scrollLineDelta;
8022
uniformOrAverageContainerPixelSize =
ScrollViewer
._scrollLineDelta;
9898
ScrollViewer
sv = ScrollOwner;
10615
ScrollViewer
sv = ScrollOwner;
11800
internal
ScrollViewer
_scrollOwner; // ScrollViewer to which we're attached.
12376
"CanContentScroll:",
ScrollViewer
.GetCanContentScroll(ic),
12377
"IsDeferredScrolling:",
ScrollViewer
.GetIsDeferredScrollingEnabled(ic),
12378
"PanningMode:",
ScrollViewer
.GetPanningMode(ic),
12379
"HSBVisibility:",
ScrollViewer
.GetHorizontalScrollBarVisibility(ic),
12380
"VSBVisibility:",
ScrollViewer
.GetVerticalScrollBarVisibility(ic));
System\windows\Documents\CaretElement.cs (2)
387
ScrollViewer
scroller = _textEditor._Scroller as
ScrollViewer
;
System\windows\Documents\TextEditor.cs (1)
1339
if (scroller is
ScrollViewer
|| scroller is ScrollContentPresenter)
System\windows\Documents\TextEditorDragDrop.cs (3)
355
if (scrollInfo == null && scroller is
ScrollViewer
)
357
scrollInfo = ((
ScrollViewer
)scroller).ScrollInfo;
368
double slowAreaHeight =
ScrollViewer
._scrollLineDelta;
System\windows\Documents\TextEditorMouse.cs (9)
519
double slowAreaDelta =
ScrollViewer
._scrollLineDelta;
608
while (scrollViewer != null && !(scrollViewer is
ScrollViewer
))
614
((
ScrollViewer
)scrollViewer).AddHandler(
ScrollViewer
.ScrollChangedEvent, new ScrollChangedEventHandler(OnScrollChangedDuringGotFocus));
633
((
ScrollViewer
)scrollViewer).RemoveHandler(
ScrollViewer
.ScrollChangedEvent, new ScrollChangedEventHandler(OnScrollChangedDuringGotFocus));
659
ScrollViewer
scrollViewer = e.OriginalSource as
ScrollViewer
;
662
scrollViewer.RemoveHandler(
ScrollViewer
.ScrollChangedEvent, new ScrollChangedEventHandler(OnScrollChangedDuringGotFocus));
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
644
case 550: t = () => typeof(
ScrollViewer
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (12)
3330
Type type = typeof(System.Windows.Controls.
ScrollViewer
);
3331
DependencyProperty dp = System.Windows.Controls.
ScrollViewer
.CanContentScrollProperty;
3333
this.GetXamlType(typeof(System.Windows.Controls.
ScrollViewer
)), // DeclaringType
3347
Type type = typeof(System.Windows.Controls.
ScrollViewer
);
3348
DependencyProperty dp = System.Windows.Controls.
ScrollViewer
.HorizontalScrollBarVisibilityProperty;
3350
this.GetXamlType(typeof(System.Windows.Controls.
ScrollViewer
)), // DeclaringType
3364
Type type = typeof(System.Windows.Controls.
ScrollViewer
);
3365
DependencyProperty dp = System.Windows.Controls.
ScrollViewer
.VerticalScrollBarVisibilityProperty;
3367
this.GetXamlType(typeof(System.Windows.Controls.
ScrollViewer
)), // DeclaringType
5565
Type type = typeof(System.Windows.Controls.
ScrollViewer
);
5566
DependencyProperty dp = System.Windows.Controls.
ScrollViewer
.ContentProperty;
5568
this.GetXamlType(typeof(System.Windows.Controls.
ScrollViewer
)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
8753
typeof(System.Windows.Controls.
ScrollViewer
),
System\Windows\Markup\KnownTypes.cs (4)
1878
return System.Windows.Controls.
ScrollViewer
.CanContentScrollProperty;
1880
return System.Windows.Controls.
ScrollViewer
.HorizontalScrollBarVisibilityProperty;
1882
return System.Windows.Controls.
ScrollViewer
.VerticalScrollBarVisibilityProperty;
6104
case KnownElements.ScrollViewer: t = typeof(System.Windows.Controls.
ScrollViewer
); break;
System\Windows\Navigation\NavigationService.cs (2)
364
ScrollViewer
sv = children.Current as
ScrollViewer
;
PresentationUI (3)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (3)
1046
private
ScrollViewer
ScrollViewer
1052
_scrollViewer = GetTemplateChild(_contentHostName) as
ScrollViewer
;
2229
private
ScrollViewer
_scrollViewer;
Roslyn.VisualStudio.DiagnosticsWindow (2)
OptionPages\InternalOptionsControl.cs (1)
32
var
viewer = new ScrollViewer()
PerfMargin\PerfMarginPanel.cs (1)
116
listView.SetValue(
ScrollViewer
.HorizontalScrollBarVisibilityProperty, ScrollBarVisibility.Disabled);
System.Windows.Controls.Ribbon (33)
Microsoft\Windows\Controls\KeyTipService.cs (2)
1327
ScrollViewer
sv = parent as
ScrollViewer
;
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGalleryCategoriesPanel.cs (2)
979
public
ScrollViewer
ScrollOwner
1056
internal
ScrollViewer
_scrollOwner; // ScrollViewer to which we're attached.
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (1)
837
public
ScrollViewer
ScrollOwner
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabsPanel.cs (2)
84
public
ScrollViewer
ScrollOwner
317
internal
ScrollViewer
_scrollOwner;
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (2)
903
internal void NotifyTabHeadersScrollOwnerChanged(
ScrollViewer
oldScrollViewer,
ScrollViewer
newScrollViewer)
Microsoft\Windows\Controls\Ribbon\RibbonApplicationMenu.cs (1)
540
ScrollViewer
subMenuScrollViewer = SubMenuScrollViewer;
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (7)
48
[TemplatePart(Name = ScrollViewerTemplatePartName, Type=typeof(
ScrollViewer
))]
71
ScrollViewer
.VerticalScrollBarVisibilityProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null));
120
_scrollViewer = GetTemplateChild(RibbonGallery.ScrollViewerTemplatePartName) as
ScrollViewer
;
382
internal
ScrollViewer
ScrollViewer
2691
ScrollViewer
predictedFocusAncestor = TreeHelper.FindVisualAncestor<
ScrollViewer
>(predictedFocus);
3235
private
ScrollViewer
_scrollViewer;
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (5)
1851
new PropertyAndTransferMode () { Property =
ScrollViewer
.HorizontalScrollBarVisibilityProperty, Mode = TransferMode.AlwaysTransfer },
1852
new PropertyAndTransferMode () { Property =
ScrollViewer
.VerticalScrollBarVisibilityProperty, Mode = TransferMode.AlwaysTransfer },
1853
new PropertyAndTransferMode () { Property =
ScrollViewer
.CanContentScrollProperty, Mode = TransferMode.AlwaysTransfer },
1854
new PropertyAndTransferMode () { Property =
ScrollViewer
.IsDeferredScrollingEnabledProperty, Mode = TransferMode.AlwaysTransfer },
2897
internal static void InvalidateScrollBarVisibility(
ScrollViewer
submenuScrollViewer)
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (4)
39
[TemplatePart(Name = RibbonMenuButton.SubMenuScrollViewerTemplatePartName, Type = typeof(
ScrollViewer
))]
708
_submenuScrollViewer = GetTemplateChild(SubMenuScrollViewerTemplatePartName) as
ScrollViewer
;
1311
internal
ScrollViewer
SubMenuScrollViewer
1327
private
ScrollViewer
_submenuScrollViewer;
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (3)
39
[TemplatePart(Name = RibbonMenuItem.SubMenuScrollViewerTemplatePartName, Type = typeof(
ScrollViewer
))]
658
_submenuScrollViewer = GetTemplateChild(SubMenuScrollViewerTemplatePartName) as
ScrollViewer
;
1598
private
ScrollViewer
_submenuScrollViewer;
Microsoft\Windows\Controls\Ribbon\RibbonTabHeaderItemsControl.cs (1)
169
ScrollViewer
scrollViewer = scrollInfo.ScrollOwner;
Microsoft\Windows\Controls\Ribbon\RibbonTextBox.cs (3)
32
[TemplatePart(Name = RibbonTextBox.ContentHostTemplatePartName, Type = typeof(
ScrollViewer
))]
69
_contentHost = GetTemplateChild(ContentHostTemplatePartName) as
ScrollViewer
;
622
private
ScrollViewer
_contentHost = null;